{
    "content": [
        {
            "type": "text",
            "text": "# Mechanize::File (ri)\n\n## Sections\n\n- **Mechanize::File < Object**\n- **Includes:** (1 subsections)\n- **Class methods:**\n- **Instance methods:**\n- **Attributes:**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Mechanize::File",
        "section": "",
        "mode": "ri",
        "summary": null,
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "Mechanize::File < Object",
                "lines": 1,
                "subsections": []
            },
            {
                "name": "Includes:",
                "lines": 12,
                "subsections": [
                    {
                        "name": "Example",
                        "lines": 5
                    }
                ]
            },
            {
                "name": "Class methods:",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "Instance methods:",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "Attributes:",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "Mechanize::File < Object": {
                "content": "------------------------------------------------------------------------",
                "subsections": []
            },
            "Includes:": {
                "content": "Mechanize::Parser (from /home/chedong/.local/share/rdoc)\n\n(from /home/chedong/.local/share/rdoc)\n------------------------------------------------------------------------\nThis is the base class for the Pluggable Parsers.  If Mechanize cannot\nfind an appropriate class to use for the content type, this class will\nbe used. For example, if you download an image/jpeg, Mechanize will not\nknow how to parse it, so this class will be instantiated.\n\nThis is a good class to use as the base class for building your own\npluggable parsers.\n",
                "subsections": [
                    {
                        "name": "Example",
                        "content": "require 'mechanize'\n\nagent = Mechanize.new\nagent.get('http://example.com/foo.jpg').class  #=> Mechanize::File\n------------------------------------------------------------------------"
                    }
                ]
            },
            "Class methods:": {
                "content": "new\n",
                "subsections": []
            },
            "Instance methods:": {
                "content": "body\ncontent\nfilename\nsave\nsave!\nsaveas\n",
                "subsections": []
            },
            "Attributes:": {
                "content": "attraccessor body\nattraccessor filename\nattrreader content\n",
                "subsections": []
            }
        }
    }
}