Method: Puppet::Pops::Loaders.find_loader
- Defined in:
- lib/puppet/pops/loaders.rb
.find_loader(module_name) ⇒ Loader::Loader
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.
Calls #loaders to obtain the {Loaders} instance and then uses it to find the appropriate loader for the given ‘module_name`, or for the environment in case `module_name` is `nil` or empty.
93 94 95 |
# File 'lib/puppet/pops/loaders.rb', line 93 def self.find_loader(module_name) loaders.find_loader(module_name) end |