End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Psych::Coder#map
map(tag = @tag, style = @style) { |self| ... }
ext/psych/lib/psych/coder.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.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.