Method: Puppet::Pops::Loader::ModuleLoaders::FileBased#initialize
- Defined in:
- lib/puppet/pops/loader/module_loaders.rb
#initialize(parent_loader, loaders, module_name, path, loader_name, loadables = LOADABLE_KINDS) ⇒ FileBased
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.
Create a kind of ModuleLoader for one module (Puppet Module, or module like)
444 445 446 447 |
# File 'lib/puppet/pops/loader/module_loaders.rb', line 444 def initialize(parent_loader, loaders, module_name, path, loader_name, loadables = LOADABLE_KINDS) super @path_index = Set.new end |