Class: Configs::States

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

Overview

Configuration of states

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStates

Returns a new instance of States.



1383
1384
# File 'docs/3_Studio.rb', line 1383

def initialize
end

Instance Attribute Details

#idsHash<Symbol => Integer>

Get the ID of states

Returns:

  • (Hash<Symbol => Integer>)


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

Returns:

  • (Symbol, nil)


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