lib/new_relic/agent/configuration/manager.rb in newrelic_rpm-8.9.0 vs lib/new_relic/agent/configuration/manager.rb in newrelic_rpm-8.10.0
- old
+ new
@@ -1,8 +1,9 @@
# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
+# frozen_string_literal: true
require 'forwardable'
require 'new_relic/agent/configuration/mask_defaults'
require 'new_relic/agent/configuration/yaml_source'
require 'new_relic/agent/configuration/default_source'
@@ -20,10 +21,10 @@
def [](key)
@cache[key]
end
def has_key?(key)
- @cache.has_key? key
+ @cache.has_key?(key)
end
def keys
@cache.keys
end