Class: Puppet::Pops::Lookup::KeyRecorder Private
- 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
-
.singleton ⇒ Object
private
rubocop:disable Naming/MemoizedInstanceVariableName.
Instance Method Summary collapse
-
#initialize ⇒ KeyRecorder
constructor
private
A new instance of KeyRecorder.
-
#record(key) ⇒ Object
private
Records a key (This implementation does nothing).
Constructor Details
#initialize ⇒ KeyRecorder
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
.singleton ⇒ 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.
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 |