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