class FlowObject::Base

Attributes

in[R]
initial_values[R]
out[R]
output[R]

Public Class Methods

new(flow, step_name = :flow) click to toggle source
# File lib/flow_object/base.rb, line 17
def initialize(flow, step_name = :flow)
  @output = self.class.send(:__fo_wrap_output__)
  self.class.link_with_delegation(@output, flow, step_name, true)
  self.class.after_output_initialize.call(@output)
end

Public Instance Methods

on_exception(exception = nil) click to toggle source
# File lib/flow_object/base.rb, line 23
def on_exception(exception = nil)
  # NOOP
end
on_failure(failed_step = nil) click to toggle source
# File lib/flow_object/base.rb, line 27
def on_failure(failed_step = nil)
  # NOOP
end
on_success() click to toggle source
# File lib/flow_object/base.rb, line 31
def on_success
  # NOOP
end