Skip to content
On this page

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class · Ruby 4.1

Psych::Nodes::Document

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

This represents a YAML Document. This node must be a child of Psych::Nodes::Stream. A Psych::Nodes::Document must have one child, and that child may be one of the following:

Class methods 1

Instance methods 2

Attributes
Read & Write

Was this document implicitly created?

Read & Write

Is the end of the document implicit?

Read & Write

A list of tag directives for this document

Read & Write

The version of the YAML document