Class: Atatus::OpenTracing::ScopeStack Private

Inherits:
Object
  • Object
show all
Defined in:
lib/atatus/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.

:__atatus_ot_scope_stack

Instance Method Summary collapse

Instance Method Details

#lastObject

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/atatus/opentracing.rb', line 183

def last
  scopes.last
end

#popObject

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/atatus/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/atatus/opentracing.rb', line 175

def push(scope)
  scopes << scope
end