class Hat::Runner

Public Class Methods

new(options) click to toggle source
# File lib/hat/runner.rb, line 8
def initialize(options)
  @server = ServerEngine.create(nil, Hat::Wrapper, options)
end
start!(options) click to toggle source
# File lib/hat/runner.rb, line 4
def self.start!(options)
  self.new(options).start
end

Public Instance Methods

start() click to toggle source
# File lib/hat/runner.rb, line 12
def start
  @server.run
end