method

new

ruby latest stable - Class: RDoc::Servlet
new(server, stores, cache, mount_path = nil, extra_doc_dirs = [])
public

Creates a new WEBrick servlet.

Use mount_path when mounting the servlet somewhere other than /.

Use extra_doc_dirs for additional documentation directories.

server is provided automatically by WEBrick when mounting. stores and cache are provided automatically by the servlet.