Sha256: b4f298ec626d0e201e7dacde276b81ec1a9ed986467cda9ebfb2252041cfc15c
Contents?: true
Size: 649 Bytes
Versions: 7
Compression:
Stored size: 649 Bytes
Contents
module Datadog module Profiling # Entity class used to represent an entry in a stack trace. # Its fields are a simplified struct version of `Thread::Backtrace::Location`. class BacktraceLocation attr_reader \ :base_label, :lineno, :path, :hash def initialize( base_label, lineno, path ) @base_label = base_label @lineno = lineno @path = path @hash = [base_label, lineno, path].hash end def ==(other) hash == other.hash end def eql?(other) hash == other.hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems