4 5 6 7 8 9
# File 'lib/runbook/extensions/steps.rb', line 4 def step(title=nil, &block) Runbook::Entities::Step.new(title).tap do |step| parent.add(step) step.dsl.instance_eval(&block) if block end end