Module: Wolflow::DSL::WorkflowSpecDSL

Defined in:
lib/wolflow/dsl.rb

Instance Method Summary collapse

Instance Method Details

#connect(*ids) ⇒ Object



25
26
27
28
29
30
31
# File 'lib/wolflow/dsl.rb', line 25

def connect(*ids, &)
  return super unless ids.all?(String)

  specs = ids.map { |id| Simple.new(id: id) }

  super(*specs, &)
end