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
3 def accept(visitor, *arguments)
4   visitor.visit(self, *arguments)
5 end