Method: Sentry.get_current_scope

Defined in:
lib/sentry-ruby.rb

.get_current_scopeScope?

Returns the current active scope.

Returns:



348
349
350
351
# File 'lib/sentry-ruby.rb', line 348

def get_current_scope
  return unless initialized?
  get_current_hub.current_scope
end