{
    "content": [
        {
            "type": "text",
            "text": "# ConnectionPool::TimedStack (ri)\n\n## Sections\n\n- **ConnectionPool::TimedStack < Object**\n- **Class methods:**\n- **Instance methods:**\n- **Attributes:**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ConnectionPool::TimedStack",
        "section": "",
        "mode": "ri",
        "summary": null,
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "ConnectionPool::TimedStack < Object",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "Class methods:",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "Instance methods:",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "Attributes:",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "ConnectionPool::TimedStack < Object": {
                "content": "(from /home/chedong/.local/share/rdoc)\n------------------------------------------------------------------------\nExamples:\n\nts = TimedStack.new(1) { MyConnection.new }\n\n# fetch a connection\nconn = ts.pop\n\n# return a connection\nts.push conn\n\nconn = ts.pop\nts.pop timeout: 5\n#=> raises ConnectionPool::TimeoutError after 5 seconds\n------------------------------------------------------------------------",
                "subsections": []
            },
            "Class methods:": {
                "content": "new\n",
                "subsections": []
            },
            "Instance methods:": {
                "content": "<<\nempty?\nlength\nmax\npop\npush\nshutdown\n",
                "subsections": []
            },
            "Attributes:": {
                "content": "attrreader max\n",
                "subsections": []
            }
        }
    }
}