class Psych::Nodes::Mapping
-
Psych::Nodes::Alias
* Psych::Nodes::Scalar
* Psych::Nodes::Mapping
* Psych::Nodes::Sequence
Psych::Nodes::Mapping node may have:
an even number of children. Here are the valid children a
A Psych::Nodes::Mapping node may have 0 or more children, but must have
This class represents a YAML Mapping.
##
def initialize anchor = nil, tag = nil, implicit = true, style = BLOCK
== See Also
+style+ is an integer indicating the mapping style.
started.
+implicit+ is a boolean indicating whether or not the map was implicitly
+tag+ is the tag associated with the map or +nil+.
+anchor+ is the anchor associated with the map or +nil+.
Create a new Psych::Nodes::Mapping object.
##
def initialize anchor = nil, tag = nil, implicit = true, style = BLOCK super() @anchor = anchor @tag = tag @implicit = implicit @style = style end