Sha256: e40524f9e89077869564cb725f981395183fde73f8946cd9ab7a7893b292dbc9
Contents?: true
Size: 390 Bytes
Versions: 14
Compression:
Stored size: 390 Bytes
Contents
# frozen_string_literal: true module InstrumentAllTheThings module Testing class TraceTracker attr_reader :traces def self.tracker @tracker ||= new end def initialize reset! end def reset! @traces = [] end def <<(val) @traces.concat(MessagePack.load(val[:body]).flatten) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems