X7ROOT File Manager
Current Path:
/opt/alt/ruby26/lib64/ruby/2.6.0/psych/visitors
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
2.6.0
/
psych
/
visitors
/
ðŸ“
..
📄
depth_first.rb
(626 B)
📄
emitter.rb
(1.45 KB)
📄
json_tree.rb
(587 B)
📄
to_ruby.rb
(11.28 KB)
📄
visitor.rb
(359 B)
📄
yaml_tree.rb
(15.36 KB)
Editing: 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
Upload File
Create Folder