Class: ElasticAPM::Stacktrace Private
- Inherits:
-
Object
- Object
- ElasticAPM::Stacktrace
- Defined in:
- lib/elastic_apm/stacktrace.rb,
lib/elastic_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
- #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.
6 7 8 |
# File 'lib/elastic_apm/stacktrace.rb', line 6 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.
8 9 10 |
# File 'lib/elastic_apm/stacktrace.rb', line 8 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.
12 13 14 |
# File 'lib/elastic_apm/stacktrace.rb', line 12 def to_a frames.map(&:to_h) end |