Method: NewRelic::Agent::Configuration::DottedHash#initialize
- Defined in:
- lib/new_relic/agent/configuration.rb
#initialize(hash) ⇒ DottedHash
Returns a new instance of DottedHash.
41 42 43 44 45 46 |
# File 'lib/new_relic/agent/configuration.rb', line 41 def initialize(hash) self.merge!(dot_flattened(hash)) keys.each do |key| self[(key.to_sym rescue key) || key] = delete(key) end end |