Method: Puppet::Environments::Cached#initialize

Defined in:
lib/puppet/environments.rb

#initialize(loader) ⇒ Cached

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.

Returns a new instance of Cached.



354
355
356
357
358
# File 'lib/puppet/environments.rb', line 354

def initialize(loader)
  @loader = loader
  @cache_expiration_service = Puppet::Environments::Cached.cache_expiration_service
  @cache = {}
end