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

#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

Returns:

  • (Hash{Symbol => Integer})


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

Returns:

  • (Symbol, nil)


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