Module: StateMachines

Defined in:
lib/state_machines/macro_methods.rb,
lib/state_machines/path.rb,
lib/state_machines/error.rb,
lib/state_machines/event.rb,
lib/state_machines/state.rb,
lib/state_machines/branch.rb,
lib/state_machines/machine.rb,
lib/state_machines/matcher.rb,
lib/state_machines/version.rb,
lib/state_machines/callback.rb,
lib/state_machines/extensions.rb,
lib/state_machines/transition.rb,
lib/state_machines/eval_helpers.rb,
lib/state_machines/integrations.rb,
lib/state_machines/helper_module.rb,
lib/state_machines/state_context.rb,
lib/state_machines/matcher_helpers.rb,
lib/state_machines/node_collection.rb,
lib/state_machines/path_collection.rb,
lib/state_machines/event_collection.rb,
lib/state_machines/state_collection.rb,
lib/state_machines/integrations/base.rb,
lib/state_machines/machine_collection.rb,
lib/state_machines/transition_collection.rb

Overview

A state machine is a model of behavior composed of states, events, and transitions. This helper adds support for defining this type of functionality on any Ruby class.

Defined Under Namespace

Modules: ClassMethods, EvalHelpers, InstanceMethods, Integrations, MacroMethods, MatcherHelpers Classes: AllMatcher, AttributeTransitionCollection, BlacklistMatcher, Branch, Callback, Error, Event, EventCollection, HelperModule, IntegrationError, IntegrationNotFound, InvalidContext, InvalidEvent, InvalidParallelTransition, InvalidTransition, LoopbackMatcher, Machine, MachineCollection, Matcher, NodeCollection, Path, PathCollection, State, StateCollection, StateContext, Transition, TransitionCollection, WhitelistMatcher

Constant Summary collapse

VERSION =
'0.6.0'