Class: Sentry::StacktraceInterface

Inherits:
Interface show all
Defined in:
lib/sentry/interfaces/stacktrace.rb

Defined Under Namespace

Classes: Frame

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Interface

inherited, registered

Instance Attribute Details

#framesObject

Returns the value of attribute frames.



3
4
5
# File 'lib/sentry/interfaces/stacktrace.rb', line 3

def frames
  @frames
end

Instance Method Details

#to_hashObject



5
6
7
8
9
# File 'lib/sentry/interfaces/stacktrace.rb', line 5

def to_hash
  data = super
  data[:frames] = data[:frames].map(&:to_hash)
  data
end