class GenericStateMachine::Transition
Transition
represents one transition of the state
Attributes
condition[R]
from[R]
to[R]
Public Class Methods
new(from, to, condition = nil)
click to toggle source
# File state_machine/transition.rb, line 11 def initialize(from, to, condition = nil) @from = from @to = to @condition = condition end