Class: Psych::Visitors::Visitor

Inherits:
Object
  • Object
show all
Defined in:
lib/psych/visitors/visitor.rb,
psych_to_ruby.c,
psych_yaml_tree.c

Direct Known Subclasses

DepthFirst, Emitter, ToRuby, YAMLTree

Instance Method Summary collapse

Instance Method Details

#accept(target) ⇒ Object



4
5
6
# File 'lib/psych/visitors/visitor.rb', line 4

def accept target
  visit target
end