Sha256: 72f29f3b7dac83a5ad362870e56791f9c8c32725a6a3c5474dbdfadeccd42447
Contents?: true
Size: 263 Bytes
Versions: 1
Compression:
Stored size: 263 Bytes
Contents
class Script::Step def initialize(headline, block) @headline = headline @block = block end def run @block.call @result = :succeded rescue @result = :failed end def result @result end def headline @headline end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
script-0.0.3 | lib/script/step.rb |