Class Webby::AutoBuilder::WebServer
In: lib/webby/auto_builder.rb
Parent: Object

Wrapper class around the webrick web server.

Methods

join   new   running?   start   stop  

Public Class methods

Create a new webrick server configured to serve pages from the output directory. Output will be directed to /dev/null.

Public Instance methods

Join on the webserver thread.

Returns true if the server is running.

Start the webrick server running in a separate thread (so we don‘t block forever).

Stop the webrick server.

[Validate]