Sha256: f5d161b9d860c150c33f440159abaccf622c9b6b0f28e07c08b7aa0cad14156b
Contents?: true
Size: 333 Bytes
Versions: 7
Compression:
Stored size: 333 Bytes
Contents
module Stairs class Script def initialize(filename) @filename = filename @script = File.read(@filename) end def run! puts "= Running script #{filename}".light_black run end private def run Step.new.instance_eval(script) end attr_reader :script, :filename end end
Version data entries
7 entries across 7 versions & 1 rubygems