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



9
10
11
# File 'lib/new_relic/agent/configuration.rb', line 9

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

#reset_configObject

for testing



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

def reset_config
  @@manager = Manager.new
end