class

YAML::Nodes::Mapping

Inherits YAML::Nodes::Node / Reference / Object

A mapping of nodes.

Instance methods

<<(node)

Appends a single node into this mapping.

Source
[]=(key, value)

Appends two nodes into this mapping.

Source
each

Yields each key-value pair in this mapping.

Source
kind

Returns the kind of this node, which is equivalent to the class name.

Source
nodes

The nodes inside this mapping, stored linearly as key1 - value1 - key2 - value2 - etc.

Source
style
Source
style=(style : MappingStyle)
Source
to_yaml(builder : YAML::Builder) : Nil
Source