Method: Transflow::FlowDSL#initialize

Defined in:
lib/transflow/flow_dsl.rb

#initialize(options, &block) ⇒ FlowDSL

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of FlowDSL.



17
18
19
20
21
22
# File 'lib/transflow/flow_dsl.rb', line 17

def initialize(options, &block)
  @options = options
  @container = options.fetch(:container)
  @step_map = {}
  instance_exec(&block)
end