Class: Puppet::Pops::Loader::ModuleLoaders::LibRootedFileBased Private
- Inherits:
-
FileBased
- Object
- Loader
- BaseLoader
- AbstractPathBasedModuleLoader
- FileBased
- Puppet::Pops::Loader::ModuleLoaders::LibRootedFileBased
- 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
Instance Attribute Summary
Attributes inherited from FileBased
Attributes inherited from AbstractPathBasedModuleLoader
#module_name, #path, #private_loader, #smart_paths
Attributes inherited from BaseLoader
Attributes inherited from Loader
Instance Method Summary collapse
- #lib_root? ⇒ Boolean private
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, #synchronize, #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.
514 515 516 |
# File 'lib/puppet/pops/loader/module_loaders.rb', line 514 def lib_root? true end |