Class: Configs::Flavors

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

Overview

Configuration of flavors

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFlavors

Returns a new instance of Flavors.



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

def initialize
end

Instance Attribute Details

#bitterInteger

Get the ID of bitter flavor

Returns:

  • (Integer)


1318
1319
1320
# File 'docs/00800_Studio.rb', line 1318

def bitter
  @bitter
end

#dryInteger

Get the ID of dry flavor

Returns:

  • (Integer)


1312
1313
1314
# File 'docs/00800_Studio.rb', line 1312

def dry
  @dry
end

#nature_disliking_flavorHash<Symbol => Array<Integer>>

List of nature disliking flavor by flavor

Returns:

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


1330
1331
1332
# File 'docs/00800_Studio.rb', line 1330

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>>)


1327
1328
1329
# File 'docs/00800_Studio.rb', line 1327

def nature_liking_flavor
  @nature_liking_flavor
end

#nature_with_no_preferencesArray<Integer>

List of nature with no preferences

Returns:

  • (Array<Integer>)


1324
1325
1326
# File 'docs/00800_Studio.rb', line 1324

def nature_with_no_preferences
  @nature_with_no_preferences
end

#sourInteger

Get the ID of sour flavor

Returns:

  • (Integer)


1321
1322
1323
# File 'docs/00800_Studio.rb', line 1321

def sour
  @sour
end

#spicyInteger

Get the ID of spicy flavor

Returns:

  • (Integer)


1309
1310
1311
# File 'docs/00800_Studio.rb', line 1309

def spicy
  @spicy
end

#sweetInteger

Get the ID of sweet flavor

Returns:

  • (Integer)


1315
1316
1317
# File 'docs/00800_Studio.rb', line 1315

def sweet
  @sweet
end

Instance Method Details

#to_json

Convert the config to json



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

def to_json(*)
end