Class: Hoss::Stacktrace Private

Inherits:
Object
  • Object
show all
Defined in:
lib/hoss/stacktrace.rb,
lib/hoss/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.



23
24
25
# File 'lib/hoss/stacktrace.rb', line 23

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.



25
26
27
# File 'lib/hoss/stacktrace.rb', line 25

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.



29
30
31
# File 'lib/hoss/stacktrace.rb', line 29

def to_a
  frames.map(&:to_h)
end