Class: StackifyRubyAPM::Stacktrace Private

Inherits:
Object
  • Object
show all
Defined in:
lib/stackify_apm/stacktrace.rb,
lib/stackify_apm/stacktrace/frame.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Classes: Frame

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#framesObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/stackify_apm/stacktrace.rb', line 8

def frames
  @frames
end

Instance Method Details

#lengthObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
# File 'lib/stackify_apm/stacktrace.rb', line 10

def length
  frames.length
end

#to_aObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



14
15
16
# File 'lib/stackify_apm/stacktrace.rb', line 14

def to_a
  frames.map(&:to_h)
end