A state machine that is used to constrain the order of invocations. An invocation can be constrained to occur when a state is, or is_not, active.
Put the state_machine into the next_state.
# File lib/mocha/state_machine.rb, line 63 63: def become(next_state) 64: @current_state = next_state 65: end
Determines whether the state_machine is in the specified state.
# File lib/mocha/state_machine.rb, line 70 70: def is(state) 71: State.new(self, state) 72: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.