Module: WFlow::Process

Defined in:
lib/w_flow/process.rb

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#flowObject (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

#finalizeObject



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

#performObject



15
# File 'lib/w_flow/process.rb', line 15

def perform;  end

#rollbackObject



16
# File 'lib/w_flow/process.rb', line 16

def rollback; end

#setupObject



14
# File 'lib/w_flow/process.rb', line 14

def setup;    end