Module: Puppet::Pops::Visitable Private

Included in:
Types::TypedModelObject
Defined in:
lib/puppet/pops/visitable.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

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

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


3
4
5
# File 'lib/puppet/pops/visitable.rb', line 3

def accept(visitor, *arguments)
  visitor.visit(self, *arguments)
end