Class: Configs::Flavors

Inherits:
Object show all
Defined in:
docs/3_Studio.rb

Overview

Configuration of flavors

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFlavors

Returns a new instance of Flavors.



1371
1372
# File 'docs/3_Studio.rb', line 1371

def initialize
end

Instance Attribute Details

#bitterInteger

Get the ID of bitter flavor

Returns:

  • (Integer)


1349
1350
1351
# File 'docs/3_Studio.rb', line 1349

def bitter
  @bitter
end

#dryInteger

Get the ID of dry flavor

Returns:

  • (Integer)


1343
1344
1345
# File 'docs/3_Studio.rb', line 1343

def dry
  @dry
end

#nature_disliking_flavorHash<Symbol => Array<Integer>>

List of nature disliking flavor by flavor

Returns:

  • (Hash<Symbol => Array<Integer>>)


1361
1362
1363
# File 'docs/3_Studio.rb', line 1361

def nature_disliking_flavor
  @nature_disliking_flavor
end

#nature_liking_flavorHash<Symbol => Array<Integer>>

List of nature liking flavor by flavor

Returns:

  • (Hash<Symbol => Array<Integer>>)


1358
1359
1360
# File 'docs/3_Studio.rb', line 1358

def nature_liking_flavor
  @nature_liking_flavor
end

#nature_with_no_preferencesArray<Integer>

List of nature with no preferences

Returns:

  • (Array<Integer>)


1355
1356
1357
# File 'docs/3_Studio.rb', line 1355

def nature_with_no_preferences
  @nature_with_no_preferences
end

#sourInteger

Get the ID of sour flavor

Returns:

  • (Integer)


1352
1353
1354
# File 'docs/3_Studio.rb', line 1352

def sour
  @sour
end

#spicyInteger

Get the ID of spicy flavor

Returns:

  • (Integer)


1340
1341
1342
# File 'docs/3_Studio.rb', line 1340

def spicy
  @spicy
end

#sweetInteger

Get the ID of sweet flavor

Returns:

  • (Integer)


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