Sha256: 3e71355c285b34ec98a729b61489588962d3c140bd3e38de17645e8efafbdac4
Contents?: true
Size: 408 Bytes
Versions: 2
Compression:
Stored size: 408 Bytes
Contents
require "script/version" require "script/engine" require "script/step" require "script/output" require "colorize" class Script def self.define script = new yield(script) script.run end def initialize @engine = Script::Engine.new end def engine @engine end def step(headline, &block) @engine.register_step(headline, block) end def run @engine.run end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
script-1.0.0 | lib/script.rb |
script-0.0.4 | lib/script.rb |