Class: Configs::States

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

Overview

Configuration of states

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStates

Returns a new instance of States.



1352
1353
# File 'docs/00800_Studio.rb', line 1352

def initialize
end

Instance Attribute Details

#idsHash<Symbol => Integer>

Get the ID of states

Returns:

  • (Hash<Symbol => Integer>)


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

Returns:

  • (Symbol, nil)


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