Method: NewRelic::Agent::Sampler#initialize
- Defined in:
- lib/new_relic/agent/sampler.rb
permalink #initialize(id = nil) ⇒ Sampler
The ID passed in here is unused by our code, but is preserved in case we have clients who are defining their own subclasses of this class, and expecting to be able to call super with an ID.
55 56 57 |
# File 'lib/new_relic/agent/sampler.rb', line 55 def initialize(id = nil) @id = id || self.class.shorthand_name end |