class MicroStateMachine::InvalidState
Public Class Methods
new(old_state, new_state)
click to toggle source
Calls superclass method
# File lib/micro_state_machine.rb, line 6 def initialize(old_state, new_state) super("Cannot transition from #{old_state} to #{new_state}") end