Class: Configs::States
Overview
Configuration of states
Instance Attribute Summary collapse
-
#ids ⇒ Hash{Symbol => Integer}
Get the ID of states.
Instance Method Summary collapse
-
#initialize ⇒ States
constructor
A new instance of States.
-
#symbol(id) ⇒ Symbol?
Get the symbol of a state from its id.
-
#to_json
Convert the config to json.
Constructor Details
#initialize ⇒ States
Returns a new instance of States.
1500 1501 |
# File 'docs/3_Studio.rb', line 1500 def initialize end |
Instance Attribute Details
#ids ⇒ Hash{Symbol => Integer}
Get the ID of states
1499 1500 1501 |
# File 'docs/3_Studio.rb', line 1499 def ids @ids end |
Instance Method Details
#symbol(id) ⇒ Symbol?
Get the symbol of a state from its id
1504 1505 |
# File 'docs/3_Studio.rb', line 1504 def symbol(id) end |
#to_json
Convert the config to json
1507 1508 |
# File 'docs/3_Studio.rb', line 1507 def to_json(*) end |