Sha256: 61264fa6caa49da92c79b27a16b862881fe79eda4a9e36e6a27e39dc8030428d
Contents?: true
Size: 664 Bytes
Versions: 16
Compression:
Stored size: 664 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
16 entries across 16 versions & 1 rubygems