class YARD::Server::WebrickAdapter
The main adapter to initialize a WEBrick server.
def start
Initializes a WEBrick server. If {Adapter#server_options} contains a
def start server_options[:ServerType] = WEBrick::Daemon if server_options[:daemonize] server = WEBrick::HTTPServer.new(server_options) server.mount('/', WebrickServlet, self) trap("INT") { server.shutdown } server.start end