Sha256: 0ff8ca9cca86eabfa1de643be9518204e4abd8280fc6719f70bb8ef4133b460d
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
require 'rubygems' require 'staticme/app' require 'staticme/arguments' require 'staticme/runner' require 'staticme/thin_runner' module Staticme extend self extend Staticme::Arguments attr_accessor :runner def run!(argv, &blk) params = parse_input(argv) app = Staticme::App.new(params).bind runner = Staticme::ThinRunner.new runner.start(app, params, &blk) end def stop! runner.stop end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
staticme-0.2.0 | lib/staticme.rb |