{
    "content": [
        {
            "type": "text",
            "text": "# RDoc::Servlet (ri)\n\n## Section Outline\n\n- **RDoc::Servlet < WEBrick::HTTPServlet::AbstractServlet** (22 lines)\n- **Class methods:** (2 lines)\n- **Instance methods:** (18 lines)\n- **Attributes:** (3 lines)\n\n## Full Content\n\n### RDoc::Servlet < WEBrick::HTTPServlet::AbstractServlet\n\n(from gem rdoc-7.2.0)\n------------------------------------------------------------------------\nThis is a WEBrick servlet that allows you to browse ri documentation.\n\nYou can show documentation through either `ri --server` or, with\nRubyGems 2.0 or newer, `gem server`.  For ri, the server runs on port\n8214 by default.  For RubyGems the server runs on port 8808 by default.\n\nYou can use this servlet in your own project by mounting it on a WEBrick\nserver:\n\nrequire 'webrick'\n\nserver = WEBrick::HTTPServer.new Port: 8000\n\nserver.mount '/', RDoc::Servlet\n\nIf you want to mount the servlet some other place than the root, provide\nthe base path when mounting:\n\nserver.mount '/rdoc', RDoc::Servlet, '/rdoc'\n------------------------------------------------------------------------\n\n### Class methods:\n\nnew\n\n### Instance methods:\n\nasset\nassetdirs\ndoGET\ndocumentationpage\ndocumentationsearch\ndocumentationsource\nerror\ngeneratorfor\nifmodifiedsince\ninstalleddocs\nnotfound\noptions\nripaths\nroot\nrootsearch\nshowdocumentation\nstorefor\n\n### Attributes:\n\nattrreader assetdirs\nattrreader options\n\n"
        }
    ],
    "structuredContent": {
        "command": "RDoc::Servlet",
        "section": "",
        "mode": "ri",
        "summary": null,
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "RDoc::Servlet < WEBrick::HTTPServlet::AbstractServlet",
                "lines": 22,
                "subsections": []
            },
            {
                "name": "Class methods:",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "Instance methods:",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "Attributes:",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}