Sha256: 9294d97cc665b2578979b20821f0858bd18cd3779767d3dfb7ec59f642b75a8e
Contents?: true
Size: 568 Bytes
Versions: 48
Compression:
Stored size: 568 Bytes
Contents
module Bake module Blocks class Sleep def initialize(config) @echo = (config.echo != "off") @time = config.name.to_f end def run puts "Sleeping #{@time}s" if @echo sleep @time return true end def execute return run() end def startupStep return run() end def exitStep return run() end def cleanStep return run() end def clean # nothing to do here return true end end end end
Version data entries
48 entries across 48 versions & 1 rubygems