Class: OrangeTap::Event
- Inherits:
-
Data
- Object
- Data
- OrangeTap::Event
- Defined in:
- lib/orange_tap/event.rb
Overview
Lightweight, immutable event created inside the TracePoint hook. Only numeric/symbol/Module references are captured here (no tp.binding, no tp.parameters, no string building) so the hook body stays cheap.
Instance Attribute Summary collapse
-
#defined_class ⇒ Object
readonly
Returns the value of attribute defined_class.
-
#method_id ⇒ Object
readonly
Returns the value of attribute method_id.
-
#thread_id ⇒ Object
readonly
Returns the value of attribute thread_id.
-
#timestamp_ns ⇒ Object
readonly
Returns the value of attribute timestamp_ns.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Details
#defined_class ⇒ Object (readonly)
Returns the value of attribute defined_class
7 8 9 |
# File 'lib/orange_tap/event.rb', line 7 def defined_class @defined_class end |
#method_id ⇒ Object (readonly)
Returns the value of attribute method_id
7 8 9 |
# File 'lib/orange_tap/event.rb', line 7 def method_id @method_id end |
#thread_id ⇒ Object (readonly)
Returns the value of attribute thread_id
7 8 9 |
# File 'lib/orange_tap/event.rb', line 7 def thread_id @thread_id end |
#timestamp_ns ⇒ Object (readonly)
Returns the value of attribute timestamp_ns
7 8 9 |
# File 'lib/orange_tap/event.rb', line 7 def @timestamp_ns end |
#type ⇒ Object (readonly)
Returns the value of attribute type
7 8 9 |
# File 'lib/orange_tap/event.rb', line 7 def type @type end |