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.

Constants

ANY

Any encoding

UTF-8 encoding

UTF-16LE encoding

UTF-16BE encoding

Attributes
Read & Write

The encoding used for this stream

Class Methods

Create a new Psych::Nodes::Stream node with an encoding that defaults to Psych::Nodes::Stream::UTF8.

See also Psych::Handler#start_stream

Instance Methods
No documentation available