Class: Puppet::Pops::Loader::SimpleEnvironmentLoader
- Inherits:
-
BaseLoader
- Object
- Loader
- BaseLoader
- Puppet::Pops::Loader::SimpleEnvironmentLoader
- Defined in:
- lib/puppet/pops/loader/simple_environment_loader.rb
Overview
SimpleEnvironmentLoader
This loader does not load anything and it is populated by the bootstrapping logic that loads the site.pp or equivalent for an environment. It does not restrict the names of what it may contain, and what is loaded here overrides any child loaders (modules).
Constant Summary
Constants inherited from Loader
Instance Attribute Summary collapse
Attributes inherited from BaseLoader
Attributes inherited from Loader
Instance Method Summary collapse
-
#find(typed_name) ⇒ Object
Never finds anything, everything “loaded” is set externally.
- #to_s ⇒ Object
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, #get_entry, #initialize, #inspect, #load, #load_typed, #loadables, #loaded_entry, #parent, #set_entry, #synchronize
Constructor Details
This class inherits a constructor from Puppet::Pops::Loader::BaseLoader
Instance Attribute Details
#private_loader ⇒ Object
10 11 12 |
# File 'lib/puppet/pops/loader/simple_environment_loader.rb', line 10 def private_loader @private_loader end |
Instance Method Details
#find(typed_name) ⇒ Object
Never finds anything, everything “loaded” is set externally
13 14 15 |
# File 'lib/puppet/pops/loader/simple_environment_loader.rb', line 13 def find(typed_name) nil end |
#to_s ⇒ Object
17 18 19 |
# File 'lib/puppet/pops/loader/simple_environment_loader.rb', line 17 def to_s "(SimpleEnvironmentLoader '#{loader_name}')" end |