{
    "mode": "ri",
    "parameter": "Psych::Stream",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/ri/Psych%3A%3AStream/json",
    "generated": "2026-06-02T15:57:10Z",
    "sections": {
        "Psych::Stream < Psych::Visitors::YAMLTree": {
            "content": "------------------------------------------------------------------------",
            "subsections": []
        },
        "Includes:": {
            "content": "Psych::Streaming (from gem psych-5.4.0)\n\n------------------------------------------------------------------------",
            "subsections": []
        },
        "Extended by:": {
            "content": "Psych::Streaming::ClassMethods (from gem psych-5.4.0)\n\n(from gem psych-5.4.0)\n------------------------------------------------------------------------\nPsych::Stream is a streaming YAML emitter.  It will not buffer your\nYAML, but send it straight to an IO.\n\nHere is an example use:\n\nstream = Psych::Stream.new($stdout)\nstream.start\nstream.push({:foo => 'bar'})\nstream.finish\n\nYAML will be immediately emitted to $stdout with no buffering.\n\nPsych::Stream#start will take a block and ensure that\nPsych::Stream#finish is called, so you can do this form:\n\nstream = Psych::Stream.new($stdout)\nstream.start do |em|\nem.push(:foo => 'bar')\nend\n------------------------------------------------------------------------",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}