Method: Puppet::Pops::Adaptable::Adapter.associate_adapter
- Defined in:
- lib/puppet/pops/adaptable.rb
.associate_adapter(adapter, o) ⇒ adapter
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.
Associates the given adapter with the given target object
166 167 168 169 |
# File 'lib/puppet/pops/adaptable.rb', line 166 def self.associate_adapter(adapter, o) o.instance_variable_set(self_attr_name, adapter) adapter end |