Module: TwoStep::DSL
- Defined in:
- lib/two-step/duckpunch/example-group.rb
Instance Method Summary collapse
Instance Method Details
#steps(*args, &block) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/two-step/duckpunch/example-group.rb', line 6 def steps(*args, &block) = if args.last.is_a?(Hash) args.pop else {} end [:stepwise] = true [:caller] ||= caller args.push() describe(*args, &block) end |