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