Class: SuperState::StateGroups
- Inherits:
-
ActiveSupport::OrderedHash
- Object
- ActiveSupport::OrderedHash
- SuperState::StateGroups
- Defined in:
- lib/super_state.rb
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
74 75 76 |
# File 'lib/super_state.rb', line 74 def [](key) super(SuperState.canonicalise(key)) end |
#[]=(key, value) ⇒ Object
70 71 72 |
# File 'lib/super_state.rb', line 70 def []=(key, value) super(SuperState.canonicalise(key), SuperState.canonicalise(value)) end |
#keys ⇒ Object
78 79 80 |
# File 'lib/super_state.rb', line 78 def keys StateArray.new(super) end |