Module: NxtStateMachine
- Defined in:
- lib/nxt_state_machine.rb,
lib/nxt_state_machine/event.rb,
lib/nxt_state_machine/graph.rb,
lib/nxt_state_machine/state.rb,
lib/nxt_state_machine/version.rb,
lib/nxt_state_machine/callable.rb,
lib/nxt_state_machine/transition.rb,
lib/nxt_state_machine/event/names.rb,
lib/nxt_state_machine/errors/error.rb,
lib/nxt_state_machine/state_machine.rb,
lib/nxt_state_machine/event_registry.rb,
lib/nxt_state_machine/state_registry.rb,
lib/nxt_state_machine/defuse_registry.rb,
lib/nxt_state_machine/transition/proxy.rb,
lib/nxt_state_machine/callback_registry.rb,
lib/nxt_state_machine/integrations/hash.rb,
lib/nxt_state_machine/transition/factory.rb,
lib/nxt_state_machine/transition/interface.rb,
lib/nxt_state_machine/error_callback_registry.rb,
lib/nxt_state_machine/errors/transition_halted.rb,
lib/nxt_state_machine/errors/unknown_state_error.rb,
lib/nxt_state_machine/integrations/active_record.rb,
lib/nxt_state_machine/integrations/attr_accessor.rb,
lib/nxt_state_machine/errors/missing_configuration.rb,
lib/nxt_state_machine/errors/transition_not_defined.rb,
lib/nxt_state_machine/errors/invalid_callback_option.rb,
lib/nxt_state_machine/errors/event_already_registered.rb,
lib/nxt_state_machine/errors/state_already_registered.rb,
lib/nxt_state_machine/errors/event_without_transitions.rb,
lib/nxt_state_machine/transition/around_callback_chain.rb,
lib/nxt_state_machine/errors/initial_state_already_defined.rb,
lib/nxt_state_machine/errors/transition_already_registered.rb,
lib/nxt_state_machine/errors/state_with_same_index_already_registered.rb
Defined Under Namespace
Modules: ActiveRecord, AttrAccessor, ClassMethods, Errors, Hash, InstanceMethods Classes: Callable, CallbackRegistry, DefuseRegistry, ErrorCallbackRegistry, Event, EventRegistry, Graph, State, StateMachine, StateRegistry, Transition
Constant Summary collapse
- VERSION =
'0.1.12'
- Error =
Class.new(StandardError)
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
96 97 98 99 |
# File 'lib/nxt_state_machine.rb', line 96 def self.included(base) base.extend(ClassMethods) base.include(InstanceMethods) end |