Class: Datadog::DI::Instrumenter::Location Private
- Inherits:
-
Struct
- Object
- Struct
- Datadog::DI::Instrumenter::Location
- Defined in:
- lib/datadog/di/instrumenter.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
This is a substitute for Thread::Backtrace::Location which does not have a public constructor. Used for the fabricated stack frame for the method itself for method probes (which use Module#prepend and thus aren’t called from the method but from outside of the method).
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#lineno ⇒ Object
Returns the value of attribute lineno.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label
78 79 80 |
# File 'lib/datadog/di/instrumenter.rb', line 78 def label @label end |
#lineno ⇒ Object
Returns the value of attribute lineno
78 79 80 |
# File 'lib/datadog/di/instrumenter.rb', line 78 def lineno @lineno end |
#path ⇒ Object
Returns the value of attribute path
78 79 80 |
# File 'lib/datadog/di/instrumenter.rb', line 78 def path @path end |