Module: Railway::DSL
- Defined in:
- lib/railway.rb
Instance Method Summary collapse
Instance Method Details
#step(name, options = {}) ⇒ Object
7 8 9 10 |
# File 'lib/railway.rb', line 7 def step(name, = {}) with = .delete(:with) steps.push(:name => name, :with => with) end |
#steps ⇒ Object
12 13 14 |
# File 'lib/railway.rb', line 12 def steps @steps ||= [] end |