End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Psych::Visitors::YAMLTree#visit_Psych_Set
visit_Psych_Set(o)
ext/psych/lib/psych/visitors/yaml_tree.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/ext/psych/lib/psych/visitors/yaml_tree.rb, line 340
def visit_Psych_Set o
register(o, @emitter.start_mapping(nil, '!set', false, Psych::Nodes::Mapping::BLOCK))
o.each do |k,v|
accept k
accept v
end
@emitter.end_mapping
end
No documentation available
See also
#visit_Psych_Omap
#visit_Range
#visit_Object
#visit_Rational
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0