Sha256: a963fa6fd8f1824591299456cafd7782c85eee49042a3216b5d87a5bb1a0030b
Contents?: true
Size: 314 Bytes
Versions: 1
Compression:
Stored size: 314 Bytes
Contents
module Staticme class Runner attr_accessor :server, :server_super def start(app, params, &blk) server_super.run(app, params) do |server| self.server = server blk.call(server) if block_given? end end def stop server.stop! end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
staticme-0.2.0 | lib/staticme/runner.rb |