module Puppet::Pops::Visitable

Visitable is a mix-in module that makes a class visitable by a Visitor

Public Instance Methods

accept(visitor, *arguments) click to toggle source
  # File lib/puppet/pops/visitable.rb
4 def accept(visitor, *arguments)
5   visitor.visit(self, *arguments)
6 end