Class: Psych::Visitors::Visitor

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

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