Module: StateFu

Defined in:
lib/event.rb,
lib/hooks.rb,
lib/lathe.rb,
lib/state.rb,
lib/binding.rb,
lib/machine.rb,
lib/sprocket.rb,
lib/state-fu.rb,
lib/blueprint.rb,
lib/interface.rb,
lib/transition.rb,
lib/executioner.rb,
lib/persistence.rb,
lib/method_factory.rb,
lib/support/arrays.rb,
lib/support/logging.rb,
lib/support/plotter.rb,
lib/persistence/base.rb,
lib/transition_query.rb,
lib/support/applicable.rb,
lib/support/exceptions.rb,
lib/persistence/relaxdb.rb,
lib/persistence/session.rb,
lib/persistence/attribute.rb,
lib/persistence/active_record.rb

Defined Under Namespace

Modules: Applicable, ArrayWithSymbolAccessor, Blueprint, EventArray, HelperArray, Hooks, Interface, MessageArray, ModuleRefArray, OrderedHash, Persistence, StateArray, ToolArray, TransitionArgsArray Classes: Binding, Error, Event, Executioner, IllegalTransition, InvalidStateName, Lathe, Logging, Machine, MagicMethodError, MethodFactory, Plotter, RequirementError, Sprocket, State, Transition, TransitionAlreadyFired, TransitionError, TransitionHalted, TransitionNotFound, TransitionQuery, UnknownTarget

Constant Summary collapse

DEFAULT =
:default
DEFAULT_FIELD =
:state_fu_field

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



53
54
55
56
57
# File 'lib/state-fu.rb', line 53

def self.included( klass )
  klass.extend(         Interface::ClassMethods )
  klass.send( :include, Interface::InstanceMethods )
  klass.extend(         Interface::Aliases )
end