Sha256: b67c0a09230fe707c4049729b7bb186b2e19380234c56a1a25e0b5d647763343

Contents?: true

Size: 445 Bytes

Versions: 8

Compression:

Stored size: 445 Bytes

Contents

# frozen_string_literal: true

# This class defines the private API of the Lookup Key Recorder support.
# @api private
#
class Puppet::Pops::Lookup::KeyRecorder
  def initialize
  end

  # rubocop:disable Naming/MemoizedInstanceVariableName
  def self.singleton
    @null_recorder ||= self.new
  end
  # rubocop:enable Naming/MemoizedInstanceVariableName

  # Records a key
  # (This implementation does nothing)
  #
  def record(key)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
puppet-8.5.1 lib/puppet/pops/lookup/key_recorder.rb
puppet-8.5.1-x86-mingw32 lib/puppet/pops/lookup/key_recorder.rb
puppet-8.5.1-x64-mingw32 lib/puppet/pops/lookup/key_recorder.rb
puppet-8.5.1-universal-darwin lib/puppet/pops/lookup/key_recorder.rb
puppet-8.5.0 lib/puppet/pops/lookup/key_recorder.rb
puppet-8.5.0-x86-mingw32 lib/puppet/pops/lookup/key_recorder.rb
puppet-8.5.0-x64-mingw32 lib/puppet/pops/lookup/key_recorder.rb
puppet-8.5.0-universal-darwin lib/puppet/pops/lookup/key_recorder.rb