instance method
Psych::Coder#map
map(tag = @tag, style = @style) { |self| ... }
ext/psych/lib/psych/coder.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/psych/lib/psych/coder.rb, line 34
def map tag = @tag, style = @style
@tag = tag
@style = style
yield self if block_given?
@map
end
Emit a map. The coder will be yielded to the block.