class Mocha::StateMachine

def become(next_state_name)

Parameters:
  • next_state_name (String) -- name of new state
def become(next_state_name)
  @current_state = next_state_name
end