Class: ElasticAPM::OpenTracing::ScopeStack Private
- Inherits:
-
Object
- Object
- ElasticAPM::OpenTracing::ScopeStack
- Defined in:
- lib/elastic_apm/opentracing.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- KEY =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
:__elastic_apm_ot_scope_stack
Instance Method Summary collapse
- #last ⇒ Object private
- #pop ⇒ Object private
- #push(scope) ⇒ Object private
Instance Method Details
#last ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
153 154 155 |
# File 'lib/elastic_apm/opentracing.rb', line 153 def last scopes.last end |
#pop ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
149 150 151 |
# File 'lib/elastic_apm/opentracing.rb', line 149 def pop scopes.pop end |
#push(scope) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
145 146 147 |
# File 'lib/elastic_apm/opentracing.rb', line 145 def push(scope) scopes << scope end |