Sha256: 81ab000c0224c084a15890d8c3d7903eeee813b79c1c658404c0e920fffcfc34

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

require "script/version"
require "script/engine"
require "script/step"

class Script
  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

1 entries across 1 versions & 1 rubygems

Version Path
script-0.0.2 lib/script.rb