class method
Psych::Visitors::Visitor.dispatch_cache
dispatch_cache
ext/psych/lib/psych/visitors/visitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/psych/lib/psych/visitors/visitor.rb, line 12
def self.dispatch_cache
Hash.new do |hash, klass|
hash[klass] = :"visit_#{klass.name.gsub('::', '_')}"
end.compare_by_identity
end
@api private