Method: NewRelic::Agent::Configuration.value_of

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

.value_of(key) ⇒ Object

Helper since default Procs are evaluated in the context of this module

[View source]

12
13
14
15
16
# File 'lib/new_relic/agent/configuration/default_source.rb', line 12

def self.value_of(key)
  proc do
    NewRelic::Agent.config[key]
  end
end