class method
Psych::Nodes::Mapping.new
new(anchor = nil, tag = nil, implicit = true, style = BLOCK)
ext/psych/lib/psych/nodes/mapping.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/psych/lib/psych/nodes/mapping.rb, line 48
def initialize anchor = nil, tag = nil, implicit = true, style = BLOCK
super()
@anchor = anchor
@tag = tag
@implicit = implicit
@style = style
end
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