Method: Sentry.get_current_scope
- Defined in:
- lib/sentry-ruby.rb
.get_current_scope ⇒ Scope?
Returns the current active scope.
348 349 350 351 |
# File 'lib/sentry-ruby.rb', line 348 def get_current_scope return unless initialized? get_current_hub.current_scope end |