Method: Puppet::Pops::Loaders#public_loader_for_module
- Defined in:
- lib/puppet/pops/loaders.rb
#public_loader_for_module(module_name) ⇒ Object
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.
239 240 241 242 243 244 245 246 |
# File 'lib/puppet/pops/loaders.rb', line 239 def public_loader_for_module(module_name) md = @module_resolver[module_name] || (return nil) # Note, this loader is not resolved until there is interest in the visibility of entities from the # perspective of something contained in the module. (Many request may pass through a module loader # without it loading anything. # See {#private_loader_for_module}, and not in {#configure_loaders_for_modules} md.public_loader end |