instance method
Psych::Visitors::ToRuby#revive_data_members
revive_data_members(hash, o)
ext/psych/lib/psych/visitors/to_ruby.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/psych/lib/psych/visitors/to_ruby.rb, line 378
def revive_data_members hash, o
o.children.each_slice(2) do |k,v|
name = accept(k)
value = accept(v)
hash[class_loader.symbolize(name)] = value
end
hash
end
No documentation available