Module: NewRelic::Agent::Configuration::Instance

Included in:
NewRelic::Agent, Agent
Defined in:
lib/new_relic/agent/configuration.rb

Overview

This can be mixed in with minimal impact to provide easy access to the config manager

Instance Method Summary collapse

Instance Method Details

#configObject



30
31
32
# File 'lib/new_relic/agent/configuration.rb', line 30

def config
  @@manager ||= Manager.new
end

#reset_configObject

for testing



35
36
37
# File 'lib/new_relic/agent/configuration.rb', line 35

def reset_config
  @@manager = Manager.new
end