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.
1352 1353 |
# File 'docs/00800_Studio.rb', line 1352 def initialize end |
Instance Attribute Details
#ids ⇒ Hash<Symbol => Integer>
Get the ID of states
1351 1352 1353 |
# File 'docs/00800_Studio.rb', line 1351 def ids @ids end |
Instance Method Details
#symbol(id) ⇒ Symbol?
Get the symbol of a state from its id
1356 1357 |
# File 'docs/00800_Studio.rb', line 1356 def symbol(id) end |
#to_json
Convert the config to json
1359 1360 |
# File 'docs/00800_Studio.rb', line 1359 def to_json(*) end |