End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Psych::Visitors::YAMLTree#dump_ivars
dump_ivars(target)
ext/psych/lib/psych/visitors/yaml_tree.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/ext/psych/lib/psych/visitors/yaml_tree.rb, line 533
def dump_ivars target
target.instance_variables.each do |iv|
@emitter.scalar("#{iv.to_s.sub(/^@/, '')}", nil, nil, true, false, Nodes::Scalar::ANY)
accept target.instance_variable_get(iv)
end
end
No documentation available
See also
#dump_exception
#dump_list
#dump_coder
#emit_coder
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0