Method: Sentry::ThreadsInterface#initialize
- Defined in:
- lib/sentry/interfaces/threads.rb
#initialize(crashed: false, stacktrace: nil) ⇒ ThreadsInterface
Returns a new instance of ThreadsInterface.
7 8 9 10 11 12 13 |
# File 'lib/sentry/interfaces/threads.rb', line 7 def initialize(crashed: false, stacktrace: nil) @id = Thread.current.object_id @name = Thread.current.name @current = true @crashed = crashed @stacktrace = stacktrace end |