Class: Funicular::Component::ResourceAccessor
- Inherits:
-
Object
- Object
- Funicular::Component::ResourceAccessor
- Defined in:
- sig/component.rbs
Instance Method Summary collapse
- #[] ⇒ Object
- #error ⇒ Object
- #error? ⇒ Boolean
- #fetch ⇒ Object
-
#initialize ⇒ ResourceAccessor
constructor
A new instance of ResourceAccessor.
- #loading? ⇒ Boolean
Constructor Details
#initialize ⇒ ResourceAccessor
Returns a new instance of ResourceAccessor.
12 |
# File 'sig/component.rbs', line 12
def initialize: (Hash[Symbol, untyped] data, Hash[Symbol, Symbol] states, Hash[Symbol, untyped] errors) -> void
|
Instance Method Details
#[] ⇒ Object
13 |
# File 'sig/component.rbs', line 13
def []: (Symbol key) -> untyped
|
#error ⇒ Object
17 |
# File 'sig/component.rbs', line 17
def error: (Symbol key) -> untyped
|
#error? ⇒ Boolean
16 |
# File 'sig/component.rbs', line 16
def error?: (Symbol key) -> bool
|
#fetch ⇒ Object
14 |
# File 'sig/component.rbs', line 14
def fetch: (Symbol key, ?untyped default) -> untyped
|
#loading? ⇒ Boolean
15 |
# File 'sig/component.rbs', line 15
def loading?: (Symbol key) -> bool
|