Method: StateMachines::StateContext#state

Defined in:
lib/state_machines/state_context.rb

#stateObject (readonly)

The state that must be present in an object for this context to be active



63
64
65
# File 'lib/state_machines/state_context.rb', line 63

def state
  @state
end