Ravn::BDE::
StateProxy class
Superclass | Object |
Extended With |
|
A state proxy for getting and setting values for a Bolt.
Attributes
- bolt_id R
The bolt id used as a prefix for each value in the store.
- manager R
The state manager to get/set values
Public Class Methods
Create a StateProxy
proxy that will get and set values via the given manager
with the specified label
.
Public Instance Methods
Fetch the value associated with key
from the state manager. If the result is nil
, return the result of calling the default_callback if it’s defined or the default
value otherwise.
Also aliased as:
[]