Class: HTTPX::Plugins::Tracing::Wrapper
- Inherits:
-
Object
- Object
- HTTPX::Plugins::Tracing::Wrapper
- Includes:
- _Tracer
- Defined in:
- lib/httpx/plugins/tracing.rb,
sig/plugins/tracing.rbs
Instance Attribute Summary collapse
-
#tracers ⇒ Array[_Tracer]
readonly
Returns the value of attribute tracers.
Instance Method Summary collapse
- #freeze ⇒ Object
-
#initialize(*tracers) ⇒ Wrapper
constructor
A new instance of Wrapper.
- #merge(tracer) ⇒ void
Methods included from _Tracer
#enabled?, #finish, #reset, #start
Constructor Details
Instance Attribute Details
#tracers ⇒ Array[_Tracer] (readonly)
Returns the value of attribute tracers.
13 14 15 |
# File 'lib/httpx/plugins/tracing.rb', line 13 def tracers @tracers end |
Instance Method Details
#freeze ⇒ Object
31 32 33 34 |
# File 'lib/httpx/plugins/tracing.rb', line 31 def freeze @tracers.each(&:freeze).freeze super end |