Class: Bulldogger::Probe::Target
- Inherits:
-
Struct
- Object
- Struct
- Bulldogger::Probe::Target
- Defined in:
- lib/bulldogger/probe/target.rb
Overview
One resolved probe target: the label the caller wrote ("Klass#method" / "Klass.method") paired with the UnboundMethod TracePoint#enable(target:) actually needs. Kept as a plain value object so Session and Writer never re-derive the label from the method (an UnboundMethod alone can't tell instance and singleton spelling apart) or re-run constant/method lookup after start.
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#unbound_method ⇒ Object
Returns the value of attribute unbound_method.
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label
11 12 13 |
# File 'lib/bulldogger/probe/target.rb', line 11 def label @label end |
#unbound_method ⇒ Object
Returns the value of attribute unbound_method
11 12 13 |
# File 'lib/bulldogger/probe/target.rb', line 11 def unbound_method @unbound_method end |