Module: StateFu

Defined in:
lib/state.rb,
lib/event.rb,
lib/hooks.rb,
lib/lathe.rb,
lib/binding.rb,
lib/machine.rb,
lib/state-fu.rb,
lib/sprocket.rb,
lib/blueprint.rb,
lib/interface.rb,
lib/transition.rb,
lib/persistence.rb,
lib/executioner.rb,
lib/support/arrays.rb,
lib/method_factory.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/session.rb,
lib/persistence/relaxdb.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

DEFAULT =
:default
DEFAULT_FIELD =
:state_fu_field

Class Method Summary (collapse)

Class Method Details

+ (Object) included(klass)



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