Module: Workflow
- Extended by:
- ActiveSupport::Concern
- Includes:
- Adapters::Adapter, Callbacks, Definition, Errors, Transitions
- Defined in:
- lib/workflow.rb,
lib/workflow/event.rb,
lib/workflow/state.rb,
lib/workflow/errors.rb,
lib/workflow/version.rb,
lib/workflow/callbacks.rb,
lib/workflow/definition.rb,
lib/workflow/transitions.rb,
lib/workflow/configuration.rb,
lib/workflow/specification.rb,
lib/workflow/adapters/adapter.rb,
lib/workflow/adapters/remodel.rb,
lib/workflow/callbacks/callback.rb,
lib/workflow/transition_context.rb,
lib/workflow/adapters/active_record.rb,
lib/workflow/callbacks/proc_callback.rb,
lib/workflow/callbacks/method_callback.rb,
lib/workflow/callbacks/string_callback.rb,
lib/workflow/helper_method_configurator.rb,
lib/workflow/callbacks/transition_callback.rb,
lib/workflow/adapters/active_record_validations.rb,
lib/workflow/callbacks/transition_callbacks/proc_caller.rb,
lib/workflow/callbacks/transition_callbacks/method_caller.rb
Overview
See also README.markdown for documentation
Defined Under Namespace
Modules: Adapters, Callbacks, Definition, Errors, Transitions Classes: Configuration, Event, HelperMethodConfigurator, Specification, State, TransitionContext
Constant Summary collapse
- CONFIGURATION =
The application-wide Workflow configuration object
Configuration.new
- VERSION =
'1.4.14'
Constants included from Callbacks
Instance Attribute Summary
Attributes included from Transitions
#halted_because, #transition_context
Class Method Summary collapse
-
.config {|Workflow::Configuration| ... } ⇒ nil
Helper method for setting configuration options on Workflow.config.
Methods included from Definition
#current_state, #workflow_spec
Methods included from Transitions
#halt, #halt!, #halted?, #load_workflow_state, #persist_workflow_state, #prepare_transition, #transition!
Class Method Details
.config {|Workflow::Configuration| ... } ⇒ nil
Helper method for setting configuration options on config
41 42 43 44 |
# File 'lib/workflow.rb', line 41 def self.config(&block) block.call(CONFIGURATION) if block_given? CONFIGURATION end |