Method: Datadog::Core::Utils::Hash::CaseInsensitiveWrapper#initialize
- Defined in:
- lib/datadog/core/utils/hash.rb
#initialize(hash) ⇒ CaseInsensitiveWrapper
Returns a new instance of CaseInsensitiveWrapper.
38 39 40 41 42 |
# File 'lib/datadog/core/utils/hash.rb', line 38 def initialize(hash) raise ArgumentError, "must be a hash, but was #{hash.class}: #{hash.inspect}" unless hash.is_a?(::Hash) @hash = hash end |