Sha256: 8f807832fbbc04a87c532bab574fba5396e1df7a0ea6f66efcacb07876d5a91f

Contents?: true

Size: 246 Bytes

Versions: 1

Compression:

Stored size: 246 Bytes

Contents

module Hat
  class Runner

    def self.start!(options)
      self.new(options).start
    end

    def initialize(options)
      @server = ServerEngine.create(nil, Hat::Wrapper, options)
    end

    def start
      @server.run
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rabbit-hat-0.0.1 lib/hat/runner.rb