# File lib/new_relic/agent/configuration/dotted_hash.rb, line 9 def initialize(hash, keep_nesting=false) # Add the hash keys to our collection explicitly so they survive the # dot flattening. This is typical for full config source instances, # but not for uses of DottedHash serializing for transmission. self.merge!(hash) if keep_nesting self.merge!(dot_flattened(hash)) DottedHash.symbolize(self) end