Method: Sentry::Scope#update_from_scope
- Defined in:
- lib/sentry/scope.rb
#update_from_scope(scope) ⇒ void
This method returns an undefined value.
Updates the scope’s data from a given scope.
144 145 146 147 148 149 150 151 152 153 154 155 156 |
# File 'lib/sentry/scope.rb', line 144 def update_from_scope(scope) self. = scope. self.contexts = scope.contexts self.extra = scope.extra self. = scope. self.user = scope.user self.transaction_name = scope.transaction_name self.transaction_source = scope.transaction_source self.fingerprint = scope.fingerprint self.span = scope.span self.propagation_context = scope.propagation_context self. = scope. end |