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::Mapping

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

This class represents a YAML Mapping.

A Psych::Nodes::Mapping node may have 0 or more children, but must have an even number of children. Here are the valid children a Psych::Nodes::Mapping node may have:

Class methods 1

Instance methods 1

Constants

ANY

Any Map Style

Block Map Style

Flow Map Style

Attributes
Read & Write

The optional anchor for this mapping

Read & Write

Is this an implicit mapping?

Read & Write

The style of this mapping

tag

Read & Write

The optional tag for this mapping