class

Psych::Nodes::Stream

v2_1_10 - Show latest stable - Superclass: Psych::Nodes::Node

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 = Psych::Parser::ANY

UTF16BE = Psych::Parser::UTF16BE

UTF16LE = Psych::Parser::UTF16LE

UTF8 = Psych::Parser::UTF8

Attributes

[RW]encoding

Files

  • ext/psych/lib/psych/nodes/stream.rb