Module: WFlow::Process
- Defined in:
- lib/w_flow/process.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#flow ⇒ Object
readonly
Returns the value of attribute flow.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#flow ⇒ Object (readonly)
Returns the value of attribute flow.
8 9 10 |
# File 'lib/w_flow/process.rb', line 8 def flow @flow end |
Class Method Details
.included(klass) ⇒ Object
4 5 6 |
# File 'lib/w_flow/process.rb', line 4 def self.included(klass) klass.extend(ClassMethods) end |
Instance Method Details
#finalize ⇒ Object
17 |
# File 'lib/w_flow/process.rb', line 17 def finalize; end |
#initialize(flow) ⇒ Object
10 11 12 |
# File 'lib/w_flow/process.rb', line 10 def initialize(flow) @flow = flow end |
#perform ⇒ Object
15 |
# File 'lib/w_flow/process.rb', line 15 def perform; end |
#rollback ⇒ Object
16 |
# File 'lib/w_flow/process.rb', line 16 def rollback; end |
#setup ⇒ Object
14 |
# File 'lib/w_flow/process.rb', line 14 def setup; end |