Method: Spider::Model::StateMachine::ClassMethods::StateEvent#run
- Defined in:
- lib/spiderfw/model/mixins/state_machine.rb
#run(obj, old_state, new_state) ⇒ Object
36 37 38 |
# File 'lib/spiderfw/model/mixins/state_machine.rb', line 36 def run(obj, old_state, new_state) @action.call(obj, old_state, new_state) end |