Module: PrettyFSM::Abbreviate

Defined in:
lib/pretty-fsm/fsm.rb

Overview

You can use this mixin to abbreviate your calls to FSM#start

Instance Method Summary collapse

Instance Method Details

#start(new_state, *args) ⇒ Object

calls self.fsm.start



70
71
72
# File 'lib/pretty-fsm/fsm.rb', line 70

def start(new_state, *args)
  self.fsm.start(new_state, *args)
end