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, #get_entry, #initialize, #load_typed, #loaded_entry, #promote_entry, #remove_entry, #set_entry
Methods inherited from Loader
#[], #get_entry, #initialize, #inspect, #load, #load_typed, #loadables, #loaded_entry, #parent, #set_entry
Constructor Details
This class inherits a constructor from Puppet::Pops::Loader::BaseLoader
Instance Attribute Details
#private_loader ⇒ Object
9 10 11 |
# File 'lib/puppet/pops/loader/simple_environment_loader.rb', line 9 def private_loader @private_loader end |
Instance Method Details
#find(typed_name) ⇒ Object
Never finds anything, everything “loaded” is set externally
12 13 14 |
# File 'lib/puppet/pops/loader/simple_environment_loader.rb', line 12 def find(typed_name) nil end |
#to_s ⇒ Object
16 17 18 |
# File 'lib/puppet/pops/loader/simple_environment_loader.rb', line 16 def to_s() "(SimpleEnvironmentLoader '#{loader_name}')" end |