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.
183 184 185 |
# File 'lib/elastic_apm/opentracing.rb', line 183 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.
179 180 181 |
# File 'lib/elastic_apm/opentracing.rb', line 179 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.
175 176 177 |
# File 'lib/elastic_apm/opentracing.rb', line 175 def push(scope) scopes << scope end |