{
    "mode": "ri",
    "parameter": "Puma::UserFileDefaultOptions",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/ri/Puma%3A%3AUserFileDefaultOptions/json",
    "generated": "2026-07-29T10:20:32Z",
    "sections": {
        "Puma::UserFileDefaultOptions < Object": {
            "content": "(from /home/chedong/.local/share/rdoc)\n------------------------------------------------------------------------\nA class used for storing \"leveled\" configuration options.\n\nIn this class any \"user\" specified options take precedence over any\n\"file\" specified options, take precedence over any \"default\" options.\n\nUser input is preferred over \"defaults\":\nuseroptions    = { foo: \"bar\" }\ndefaultoptions = { foo: \"zoo\" }\noptions = UserFileDefaultOptions.new(useroptions, defaultoptions)\nputs options[:foo]\n# => \"bar\"\n\nAll values can be accessed via allof\n\nputs options.allof(:foo)\n# => [\"bar\", \"zoo\"]\n\nA \"file\" option can be set. This config will be preferred over \"default\"\noptions but will defer to any available \"user\" specified options.\n\nuseroptions    = { foo: \"bar\" }\ndefaultoptions = { rackup: \"zoo.rb\" }\noptions = UserFileDefaultOptions.new(useroptions, defaultoptions)\noptions.fileoptions[:rackup] = \"sup.rb\"\nputs options[:rackup]\n# => \"sup.rb\"\n\nThe \"default\" options can be set via procs. These are resolved during\nruntime via calls to finalizevalues\n------------------------------------------------------------------------",
            "subsections": []
        },
        "Class methods:": {
            "content": "new\n",
            "subsections": []
        },
        "Instance methods:": {
            "content": "[]\n[]=\nallof\ndefaultoptions\nfetch\nfileoptions\nfinaloptions\nfinalizevalues\nuseroptions\n",
            "subsections": []
        },
        "Attributes:": {
            "content": "attrreader defaultoptions\nattrreader fileoptions\nattrreader useroptions\n",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}