lib/script/step.rb in script-0.0.3 vs lib/script/step.rb in script-0.0.4
- old
+ new
@@ -2,11 +2,11 @@
def initialize(headline, block)
@headline = headline
@block = block
end
- def run
- @block.call
+ def run(shareables)
+ @block.call(shareables)
@result = :succeded
rescue
@result = :failed
end