Module: Puppet::Pops::Visitable
- Defined in:
- lib/puppet/pops/visitable.rb
Overview
Visitable is a mix-in module that makes a class visitable by a Visitor
Instance Method Summary collapse
Instance Method Details
#accept(visitor, *arguments) ⇒ Object
3 4 5 |
# File 'lib/puppet/pops/visitable.rb', line 3 def accept(visitor, *arguments) visitor.visit(self, *arguments) end |