Class: Puppet::Util::ModuleDirectoriesAdapter Private

Inherits:
Pops::Adaptable::Adapter show all
Defined in:
lib/puppet/util/autoload.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 module_directories cache to the environment where the modules are parsed. This adapter ensures that the life-cycle of this cache doesn’t exceed the life-cycle of the environment.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Pops::Adaptable::Adapter

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

Instance Attribute Details

#directoriesObject

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.



11
12
13
# File 'lib/puppet/util/autoload.rb', line 11

def directories
  @directories
end