Class: Funicular::Component::StateAccessor
- Inherits:
-
Object
- Object
- Funicular::Component::StateAccessor
- Defined in:
- sig/component.rbs
Instance Method Summary collapse
- #[] ⇒ Object
- #fetch ⇒ Object
-
#initialize ⇒ StateAccessor
constructor
A new instance of StateAccessor.
- #key? ⇒ Boolean
- #to_h ⇒ Hash[Symbol, untyped]
Constructor Details
#initialize ⇒ StateAccessor
Returns a new instance of StateAccessor.
4 |
# File 'sig/component.rbs', line 4
def initialize: (Hash[Symbol, untyped] state_hash) -> void
|
Instance Method Details
#[] ⇒ Object
5 |
# File 'sig/component.rbs', line 5
def []: (Symbol key) -> untyped
|
#fetch ⇒ Object
6 |
# File 'sig/component.rbs', line 6
def fetch: (Symbol key, ?untyped default) -> untyped
|
#key? ⇒ Boolean
7 |
# File 'sig/component.rbs', line 7
def key?: (Symbol key) -> bool
|
#to_h ⇒ Hash[Symbol, untyped]
8 |
# File 'sig/component.rbs', line 8
def to_h: () -> Hash[Symbol, untyped]
|