Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.7.0-202012151422
/
usr
/
lib
/
ruby
/
2.7.0
/
psych
/
visitors
/
//proc/thread-self/root/opt/ruby-2.7.0-202012151422/usr/lib/ruby/2.7.0/psych/visitors/visitor.rb
# frozen_string_literal: true module Psych module Visitors class Visitor def accept target visit target end private DISPATCH = Hash.new do |hash, klass| hash[klass] = "visit_#{klass.name.gsub('::', '_')}" end def visit target send DISPATCH[target.class], target end end end end