Class: Configs::Conditions
Overview
Configuration of contest conditions
Instance Attribute Summary collapse
-
#beauty_index ⇒ Integer
Index of beauty value.
-
#cleverness_index ⇒ Integer
Index of cleverness value.
-
#coolness_index ⇒ Integer
Index of coolness value.
-
#cuteness_index ⇒ Integer
Index of cuteness value.
-
#max_condition_value ⇒ Integer
Maximum value of a condition.
-
#sheen_index ⇒ Integer
Index of sheen value.
-
#toughness_index ⇒ Integer
Index of toughness value.
Instance Method Summary collapse
-
#condition_index(condition) ⇒ Integer
Get the index of a condition.
-
#initialize ⇒ Conditions
constructor
A new instance of Conditions.
-
#to_json
Convert the config to json.
Constructor Details
#initialize ⇒ Conditions
Returns a new instance of Conditions.
1615 1616 |
# File 'docs/3_Studio.rb', line 1615 def initialize end |
Instance Attribute Details
#beauty_index ⇒ Integer
Index of beauty value
1602 1603 1604 |
# File 'docs/3_Studio.rb', line 1602 def beauty_index @beauty_index end |
#cleverness_index ⇒ Integer
Index of cleverness value
1608 1609 1610 |
# File 'docs/3_Studio.rb', line 1608 def cleverness_index @cleverness_index end |
#coolness_index ⇒ Integer
Index of coolness value
1599 1600 1601 |
# File 'docs/3_Studio.rb', line 1599 def coolness_index @coolness_index end |
#cuteness_index ⇒ Integer
Index of cuteness value
1605 1606 1607 |
# File 'docs/3_Studio.rb', line 1605 def cuteness_index @cuteness_index end |
#max_condition_value ⇒ Integer
Maximum value of a condition
1596 1597 1598 |
# File 'docs/3_Studio.rb', line 1596 def max_condition_value @max_condition_value end |
#sheen_index ⇒ Integer
Index of sheen value
1614 1615 1616 |
# File 'docs/3_Studio.rb', line 1614 def sheen_index @sheen_index end |
#toughness_index ⇒ Integer
Index of toughness value
1611 1612 1613 |
# File 'docs/3_Studio.rb', line 1611 def toughness_index @toughness_index end |
Instance Method Details
#condition_index(condition) ⇒ Integer
Get the index of a condition
1620 1621 |
# File 'docs/3_Studio.rb', line 1620 def condition_index(condition) end |
#to_json
Convert the config to json
1623 1624 |
# File 'docs/3_Studio.rb', line 1623 def to_json(*) end |