Module: Wolflow::DSL::WolflowDSL
- Defined in:
- lib/wolflow/dsl.rb
Instance Method Summary collapse
Instance Method Details
#spec(id, &blk) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/wolflow/dsl.rb', line 15 def spec(id, &blk) wf = WorkflowSpec.new(id: id) blk.call(wf) if blk wf end |