Skip to content
On this page

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class · Ruby 3.0

Psych::Nodes::Stream

< Psych::Nodes::Node 1 instance methods 1 class methods

Represents a YAML stream. This is the root node for any YAML parse tree. This node must have one or more child nodes. The only valid child node for a Psych::Nodes::Stream node is Psych::Nodes::Document.

Class methods 1

Instance methods 1

Constants

ANY

Any encoding

UTF-16BE encoding

UTF-16LE encoding

UTF-8 encoding

Attributes
Read & Write

The encoding used for this stream