Class: TraceViz::Core::Tracer
- Inherits:
-
Object
- Object
- TraceViz::Core::Tracer
- Defined in:
- lib/trace_viz/core/tracer.rb
Instance Method Summary collapse
Instance Method Details
#trace(**options, &block) ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/trace_viz/core/tracer.rb', line 12 def trace(**, &block) Defaults::Themes.apply_solarized_theme Context::Manager.with_contexts(config: , tracking: {}) do adapter = Adapters::TracePointAdapter.new adapter.trace(&block) end end |