Sha256: a6e9607655d4cfa02e5cdcf8662a4d290a00d588f7c54a6cd97038cb67c5d35f
Contents?: true
Size: 663 Bytes
Versions: 6
Compression:
Stored size: 663 Bytes
Contents
# typed: true 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
6 entries across 6 versions & 1 rubygems