abstract class YAML::Nodes::Node
inherits Reference
¶
Abstract class of all YAML tree nodes.
Direct known subclasses
YAML::Nodes::Alias
YAML::Nodes::Document
YAML::Nodes::Mapping
YAML::Nodes::Scalar
YAML::Nodes::Sequence
Methods¶
abstract
#kind : String
¶
: String
Returns the kind of this node, which is equivalent to the class name.
#raise(message)
¶
(message)
Raises a YAML::ParseException
with the given message
located at this node's location
.