Class: Psych::Visitors::Visitor

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

Direct Known Subclasses

DepthFirst, Emitter, ToRuby, YAMLTree

Instance Method Summary collapse

Instance Method Details

#accept(target) ⇒ Object



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

def accept target
  visit target
end