class Psych::Visitors::Visitor - psych-2.0.13 Documentation

# class Psych::Visitors::Visitor

### Constants

DISPATCH

### Public Instance Methods

accept(target) click to toggle source

    # File lib/psych/visitors/visitor.rb, line 4
    def accept target
      visit target
    end

### Private Instance Methods

visit(target) click to toggle source

    # File lib/psych/visitors/visitor.rb, line 14
    def visit target
      send DISPATCH[target.class], target
    end