Method: Sentry.configure_scope
- Defined in:
- lib/sentry-ruby.rb
.configure_scope {|scope| ... } ⇒ void
This method returns an undefined value.
Takes a block and yields the current active scope.
372 373 374 375 |
# File 'lib/sentry-ruby.rb', line 372 def configure_scope(&block) return unless initialized? get_current_hub.configure_scope(&block) end |