Method: Script::Engine#run

Defined in:
lib/script/engine.rb

#runObject



15
16
17
18
19
20
21
22
23
# File 'lib/script/engine.rb', line 15

def run
  @steps.each do |step|
    puts Script::Output.started(step)
    step.run(@shareables)
    puts Script::Output.result(step)

    abort_run if step.result == :failed
  end
end