Exception: Hifsm::MissingTransition

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hifsm.rb

Instance Method Summary collapse

Constructor Details

#initialize(state, name) ⇒ MissingTransition

Returns a new instance of MissingTransition.



13
14
15
# File 'lib/hifsm.rb', line 13

def initialize(state, name)
  super "No transition :#{name} from :#{state}"
end