class Mocha::StateMachine::State

Provides a mechanism to change the state of a {StateMachine} at some point in the future.

Public Instance Methods

activate() click to toggle source

@private

# File lib/mocha/state_machine.rb, line 29
def activate
  @state_machine.current_state = @state
end