Module: TraceViz::Helpers::TrackingHelper
- Included in:
- Collectors::BaseCollector, Collectors::Matchers::TracePointActionMatcher, Collectors::Steps::BaseStep
- Defined in:
- lib/trace_viz/helpers/tracking_helper.rb
Instance Method Summary collapse
-
#active_call_stack ⇒ Object
Helper methods to access tracker attributes.
- #current_call ⇒ Object
- #current_depth ⇒ Object
- #tracker ⇒ Object
Instance Method Details
#active_call_stack ⇒ Object
Helper methods to access tracker attributes
13 14 15 |
# File 'lib/trace_viz/helpers/tracking_helper.rb', line 13 def active_call_stack tracker.active_calls end |
#current_call ⇒ Object
17 18 19 |
# File 'lib/trace_viz/helpers/tracking_helper.rb', line 17 def current_call tracker.current_call end |
#current_depth ⇒ Object
21 22 23 |
# File 'lib/trace_viz/helpers/tracking_helper.rb', line 21 def current_depth tracker.current_depth end |
#tracker ⇒ Object
8 9 10 |
# File 'lib/trace_viz/helpers/tracking_helper.rb', line 8 def tracker Context.for(:tracking) end |