Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Psych::Visitors::YAMLTree#visit_Psych_Omap
visit_Psych_Omap(o)
ext/psych/lib/psych/visitors/yaml_tree.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/ext/psych/lib/psych/visitors/yaml_tree.rb, line 139
def visit_Psych_Omap o
seq = @emitter.start_sequence(nil, 'tag:yaml.org,2002:omap', false, Nodes::Sequence::BLOCK)
register(o, seq)
o.each { |k,v| visit_Hash k => v }
@emitter.end_sequence
end
No documentation available
See also
#visit_Object
#visit_Psych_Set
#visit_NilClass
#visit_Range
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0