Class: Puppet::Util::FileNamespaceAdapter Private

Inherits:
Pops::Adaptable::Adapter show all
Defined in:
lib/puppet/pops/validation/checker4_0.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

API:

  • private

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Pops::Adaptable::Adapter

adapt, adapt_new, associate_adapter, clear, get, instance_var_name, self_attr_name, type_name

Instance Attribute Details

#file_to_namespaceObject

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.

API:

  • private



573
574
575
# File 'lib/puppet/pops/validation/checker4_0.rb', line 573

def file_to_namespace
  @file_to_namespace
end

Class Method Details

.create_adapter(env) ⇒ Object

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.

API:

  • private



575
576
577
578
579
# File 'lib/puppet/pops/validation/checker4_0.rb', line 575

def self.create_adapter(env)
  adapter = super(env)
  adapter.file_to_namespace = {}
  adapter
end