module Railway::DSL

Public Instance Methods

step(name, options = {}) click to toggle source
# File lib/railway.rb, line 7
def step(name, options = {})
  with = options.delete(:with)
  steps.push(:name => name, :with => with)
end
steps() click to toggle source
# File lib/railway.rb, line 12
def steps
  @steps ||= []
end