Module: Stateflow::Persistence::None::InstanceMethods
- Defined in:
- lib/stateflow/persistence/none.rb
Instance Attribute Summary collapse
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
Instance Attribute Details
#state ⇒ Object
Returns the value of attribute state.
9 10 11 |
# File 'lib/stateflow/persistence/none.rb', line 9 def state @state end |
Instance Method Details
#load_from_persistence ⇒ Object
11 12 13 |
# File 'lib/stateflow/persistence/none.rb', line 11 def load_from_persistence @state end |
#save_to_persistence(new_state, options) ⇒ Object
15 16 17 |
# File 'lib/stateflow/persistence/none.rb', line 15 def save_to_persistence(new_state, ) @state = new_state end |