Class: Puppet::Pops::Lookup::KeyRecorder Private

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/pops/lookup/key_recorder.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.

This class defines the private API of the Lookup Key Recorder support.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeKeyRecorder

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 KeyRecorder.



7
8
# File 'lib/puppet/pops/lookup/key_recorder.rb', line 7

def initialize
end

Class Method Details

.singletonObject

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.

rubocop:disable Naming/MemoizedInstanceVariableName



11
12
13
# File 'lib/puppet/pops/lookup/key_recorder.rb', line 11

def self.singleton
  @null_recorder ||= new
end

Instance Method Details

#record(key) ⇒ 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.

Records a key (This implementation does nothing)



19
20
# File 'lib/puppet/pops/lookup/key_recorder.rb', line 19

def record(key)
end