Class: Puppet::Pops::Loader::ModuleLoaders::LibRootedFileBased Private

Inherits:
FileBased show all
Defined in:
lib/puppet/pops/loader/module_loaders.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.

Specialization used by the system_loader which is limited to see what's beneath 'lib' and hence cannot be rooted in its parent. The 'lib' directory is renamed during install so any attempt to traverse into it from above would fail.

Constant Summary

Constants inherited from Loader

Loader::LOADABLE_KINDS

Instance Attribute Summary

Attributes inherited from FileBased

#path_index, #smart_paths

Attributes inherited from AbstractPathBasedModuleLoader

#module_name, #path, #private_loader, #smart_paths

Attributes inherited from BaseLoader

#parent

Attributes inherited from Loader

#loader_name

Instance Method Summary collapse

Methods inherited from FileBased

#add_to_index, #candidate_paths, #existing_path, #get_contents, #initialize, #meaningful_to_search?, #relative_paths, #to_s

Methods inherited from AbstractPathBasedModuleLoader

#candidate_paths, #discover, #existing_path, #find, #get_contents, #get_source_ref, #global?, #initialize, #instantiate, #loadables, #meaningful_to_search?, #relative_paths

Methods inherited from BaseLoader

#add_entry, #discover, #get_entry, #initialize, #load_typed, #loaded_entry, #promote_entry, #remove_entry, #set_entry

Methods inherited from Loader

#[], #discover, #find, #get_entry, #initialize, #inspect, #load, #load_typed, #loadables, #loaded_entry, #parent, #private_loader, #set_entry, #to_s

Constructor Details

This class inherits a constructor from Puppet::Pops::Loader::ModuleLoaders::FileBased

Instance Method Details

#lib_root?Boolean

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.


518
519
520
# File 'lib/puppet/pops/loader/module_loaders.rb', line 518

def lib_root?
  true
end