Class: Configs::Flavors
Overview
Configuration of flavors
Instance Attribute Summary collapse
-
#bitter ⇒ Integer
Get the ID of bitter flavor.
-
#dry ⇒ Integer
Get the ID of dry flavor.
-
#nature_disliking_flavor ⇒ Hash<Symbol => Array<Integer>>
List of nature disliking flavor by flavor.
-
#nature_liking_flavor ⇒ Hash<Symbol => Array<Integer>>
List of nature liking flavor by flavor.
-
#nature_with_no_preferences ⇒ Array<Integer>
List of nature with no preferences.
-
#sour ⇒ Integer
Get the ID of sour flavor.
-
#spicy ⇒ Integer
Get the ID of spicy flavor.
-
#sweet ⇒ Integer
Get the ID of sweet flavor.
Instance Method Summary collapse
-
#initialize ⇒ Flavors
constructor
A new instance of Flavors.
-
#to_json
Convert the config to json.
Constructor Details
#initialize ⇒ Flavors
Returns a new instance of Flavors.
1371 1372 |
# File 'docs/3_Studio.rb', line 1371 def initialize end |
Instance Attribute Details
#bitter ⇒ Integer
Get the ID of bitter flavor
1349 1350 1351 |
# File 'docs/3_Studio.rb', line 1349 def bitter @bitter end |
#dry ⇒ Integer
Get the ID of dry flavor
1343 1344 1345 |
# File 'docs/3_Studio.rb', line 1343 def dry @dry end |
#nature_disliking_flavor ⇒ Hash<Symbol => Array<Integer>>
List of nature disliking flavor by flavor
1361 1362 1363 |
# File 'docs/3_Studio.rb', line 1361 def nature_disliking_flavor @nature_disliking_flavor end |
#nature_liking_flavor ⇒ Hash<Symbol => Array<Integer>>
List of nature liking flavor by flavor
1358 1359 1360 |
# File 'docs/3_Studio.rb', line 1358 def nature_liking_flavor @nature_liking_flavor end |
#nature_with_no_preferences ⇒ Array<Integer>
List of nature with no preferences
1355 1356 1357 |
# File 'docs/3_Studio.rb', line 1355 def nature_with_no_preferences @nature_with_no_preferences end |
#sour ⇒ Integer
Get the ID of sour flavor
1352 1353 1354 |
# File 'docs/3_Studio.rb', line 1352 def sour @sour end |
#spicy ⇒ Integer
Get the ID of spicy flavor
1340 1341 1342 |
# File 'docs/3_Studio.rb', line 1340 def spicy @spicy end |
#sweet ⇒ Integer
Get the ID of sweet flavor
1346 1347 1348 |
# File 'docs/3_Studio.rb', line 1346 def sweet @sweet end |
Instance Method Details
#to_json
Convert the config to json
1374 1375 |
# File 'docs/3_Studio.rb', line 1374 def to_json(*) end |