method

new

ruby latest stable - Class: WEBrick::GenericServer
new(config={}, default=Config::General)
public

Creates a new generic server from config. The default configuration comes from default.