Method: StateMachine::Callback#branch

Defined in:
lib/state_machine/callback.rb

#branchObject (readonly)

The branch that determines whether or not this callback can be invoked based on the context of the transition. The event, from state, and to state must all match in order for the branch to pass.

See StateMachine::Branch for more information.



107
108
109
# File 'lib/state_machine/callback.rb', line 107

def branch
  @branch
end