module NewRelic::Agent::Agent::ClassMethods
contains all the class-level methods for NewRelic::Agent::Agent
Public Instance Methods
instance()
click to toggle source
Should only be called by NewRelic::Control
- returns a memoized singleton instance of the agent, creating one if needed
# File lib/new_relic/agent/agent.rb, line 134 def instance @instance ||= self.new end