class

YAML::Nodes::Alias

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

An alias.

Constructors

new(anchor : String)

Creates an alias with the given anchor.

Source

Instance methods

kind

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

Source
to_yaml(builder : YAML::Builder) : Nil
Source
value

The node this alias points to. This is set by YAML::Nodes.parse, and is nil by default.

Source
value=(value : Node | Nil)

The node this alias points to. This is set by YAML::Nodes.parse, and is nil by default.

Source