method

new

v2_6_3 - Show 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.