Module: EdgeStateMachine

Defined in:
lib/edge-state-machine.rb,
lib/edge-state-machine/event.rb,
lib/edge-state-machine/state.rb,
lib/edge-state-machine/machine.rb,
lib/edge-state-machine/version.rb,
lib/edge-state-machine/exception.rb,
lib/edge-state-machine/transition.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: Event, InvalidMethodOverride, InvalidTransition, Machine, NoEventFound, NoGuardFound, NoStateFound, NoTransitionFound, State, Transition

Constant Summary collapse

VERSION =
"1.0.1"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



10
11
12
13
# File 'lib/edge-state-machine.rb', line 10

def self.included(base)
  base.extend(ClassMethods)
  base.send :include, InstanceMethods
end