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
- #config ⇒ Object
-
#reset_config ⇒ Object
for testing.
Instance Method Details
#config ⇒ Object
30 31 32 |
# File 'lib/new_relic/agent/configuration.rb', line 30 def config @@manager ||= Manager.new end |
#reset_config ⇒ Object
for testing
35 36 37 |
# File 'lib/new_relic/agent/configuration.rb', line 35 def reset_config @@manager = Manager.new end |