Class: OpenTracing::Instrumentation::Rack::ExtractMiddleware::FakeSpan
- Inherits:
-
Object
- Object
- OpenTracing::Instrumentation::Rack::ExtractMiddleware::FakeSpan
- Defined in:
- lib/opentracing/instrumentation/rack/extract_middleware.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(context) ⇒ FakeSpan
constructor
A new instance of FakeSpan.
Constructor Details
#initialize(context) ⇒ FakeSpan
Returns a new instance of FakeSpan.
14 15 16 |
# File 'lib/opentracing/instrumentation/rack/extract_middleware.rb', line 14 def initialize(context) @context = context end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
12 13 14 |
# File 'lib/opentracing/instrumentation/rack/extract_middleware.rb', line 12 def context @context end |