Class: Puppet::Parser::Functions::AnonymousModuleAdapter Private

Inherits:
Puppet::Pops::Adaptable::Adapter show all
Defined in:
lib/puppet/parser/functions.rb

Overview

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

An adapter that ties the anonymous module that acts as the container for all 3x functions to the environment where the functions are created. This adapter ensures that the life-cycle of those functions doesn't exceed the life-cycle of the environment.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Puppet::Pops::Adaptable::Adapter

adapt, adapt_new, associate_adapter, clear, create_adapter, get, instance_var_name, self_attr_name, type_name

Instance Attribute Details

#moduleObject

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.


78
79
80
# File 'lib/puppet/parser/functions.rb', line 78

def module
  @module
end