Method: NewRelic::Agent::Configuration::Manager#source

Defined in:
lib/new_relic/agent/configuration/manager.rb

#source(key) ⇒ Object

[View source]

106
107
108
109
110
111
112
# File 'lib/new_relic/agent/configuration/manager.rb', line 106

def source(key)
  config_stack.each do |config|
    if config.respond_to?(key.to_sym) || config.has_key?(key.to_sym)
      return config
    end
  end
end