Skip to content

class YAML::Nodes::Alias
inherits YAML::Nodes::Node

An alias.

Class methods

.new(anchor : String)

Creates an alias with the given anchor.

View source

Methods

#kind : String

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

View source

#to_yaml(builder : YAML::Builder)

View source

#value : Node?

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

View source

#value=(value : Node?)

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

View source