Skip to content
class method

Psych::Nodes::Mapping.new

new(anchor = nil, tag = nil, implicit = true, style = BLOCK)

Create a new Psych::Nodes::Mapping object.

anchor is the anchor associated with the map or nil. tag is the tag associated with the map or nil. implicit is a boolean indicating whether or not the map was implicitly started. style is an integer indicating the mapping style.

See Also

See also Psych::Handler#start_mapping

See also #mapping? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0