Class: Puppet::Pops::Adapters::LoaderAdapter
- Inherits:
-
Puppet::Pops::Adaptable::Adapter
- Object
- Puppet::Pops::Adaptable::Adapter
- Puppet::Pops::Adapters::LoaderAdapter
- Defined in:
- lib/puppet/pops/adapters.rb
Overview
A LoaderAdapter adapts an object with a Loader. This is used to make further loading from the perspective of the adapted object take place in the perspective of this Loader.
It is typically enough to adapt the root of a model as a search is made towards the root of the model until a loader is found, but there is no harm in duplicating this information provided a contained object is adapted with the correct loader.
Instance Attribute Summary collapse
-
#loader ⇒ Puppet::Pops::Loader::Loader
The loader.
Method Summary
Methods inherited from Puppet::Pops::Adaptable::Adapter
adapt, adapt_new, associate_adapter, clear, create_adapter, get, instance_var_name
Instance Attribute Details
#loader ⇒ Puppet::Pops::Loader::Loader
Returns the loader.
107 108 109 |
# File 'lib/puppet/pops/adapters.rb', line 107 def loader @loader end |