Class: Hoss::Stacktrace Private
- Inherits:
-
Object
- Object
- Hoss::Stacktrace
- 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
- #frames ⇒ Object private
Instance Method Summary collapse
- #length ⇒ Object private
- #to_a ⇒ Object private
Instance Attribute Details
#frames ⇒ Object
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
#length ⇒ Object
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_a ⇒ Object
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 |