lib/pigeon/task.rb
# Schedules the next state to be executed. This method should only be
# called once per state or it may result in duplicated state actions.
Schedules the next state to be executed. This method should only be
called once per state or it may result in duplicated state actions.
Schedules the next state to be executed . This method should only be called once per state or it may result in duplicated state actions .
def transition_to_state(state)
    @engine.dispatch do
      run_state!(state)
    end
    state
  end
def transition_to_state ( state ) @engine . dispatch do run_state! ( state ) end state end
Schedules the next state to be executed.
Schedules the next state to be executed .
state