module Statum

Constants

ANY_STATE_NAME

Any state identifier

ErrorTransitionError

Error for wrong transition

ExistingMachineError

Error for duplicated state machine

STATE_MACHINES_VARIABLE

Variable to store state machines

UnknownEventError

Error for unknown event

VERSION

Public Class Methods

included(base) click to toggle source
# File lib/statum.rb, line 26
def included(base)
  base.extend(Statum::ClassMethods)
  base.include(Statum::InstanceMethods)
end