Method: Puppet::Pops::Loaders::LoaderModuleData#initialize

Defined in:
lib/puppet/pops/loaders.rb

#initialize(puppet_module) ⇒ LoaderModuleData

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.

Returns a new instance of LoaderModuleData.

Parameters:

  • puppet_module (Puppet::Module)

    the module instance for the module being represented



462
463
464
465
466
467
# File 'lib/puppet/pops/loaders.rb', line 462

def initialize(puppet_module)
  @puppet_module = puppet_module
  @resolutions = []
  @public_loader = nil
  @private_loader = nil
end