The base class for any Node in a YAML parse tree. This class should never be instantiated.
Methods
Included Modules
Attributes
[R] | children | The children of this node |
[R] | tag | An associated tag |
Class Public methods
new()
Link
Create a new Psych::Nodes::Node
Instance Public methods
each(&block)
Link
Iterate over each node in the tree. Yields each node to block
depth first.
to_ruby()
Link
Convert this node to Ruby.
See also Psych::Visitors::ToRuby
Also aliased as: transform
yaml(io = nil, options = {})
Link
Convert this node to YAML.
See also Psych::Visitors::Emitter
Also aliased as: to_yaml