Module: NewRelic::Agent::Agent::ClassMethods
- Included in:
- NewRelic::Agent::Agent
- Defined in:
- lib/new_relic/agent/agent.rb
Overview
contains all the class-level methods for NewRelic::Agent::Agent
Instance Method Summary collapse
-
#instance ⇒ Object
Should only be called by NewRelic::Control - returns a memoized singleton instance of the agent, creating one if needed.
Instance Method Details
#instance ⇒ Object
Should only be called by NewRelic::Control - returns a memoized singleton instance of the agent, creating one if needed
132 133 134 |
# File 'lib/new_relic/agent/agent.rb', line 132 def instance @instance ||= self.new end |