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.
1383 1384 |
# File 'docs/3_Studio.rb', line 1383 def initialize end |
Instance Attribute Details
#ids ⇒ Hash<Symbol => Integer>
Get the ID of states
1382 1383 1384 |
# File 'docs/3_Studio.rb', line 1382 def ids @ids end |
Instance Method Details
#symbol(id) ⇒ Symbol?
Get the symbol of a state from its id
1387 1388 |
# File 'docs/3_Studio.rb', line 1387 def symbol(id) end |
#to_json
Convert the config to json
1390 1391 |
# File 'docs/3_Studio.rb', line 1390 def to_json(*) end |