Sha256: 20b1930a9fd1fee0b6c9ffe5a0b3fd105c6636e10089c9e0ba473a8343cad2ad
Contents?: true
Size: 375 Bytes
Versions: 7
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true module Buildkite::TestCollector class Object module CustomObjectSleep def sleep(duration) tracer = Buildkite::TestCollector::Uploader.tracer tracer&.enter("sleep") super ensure tracer&.leave end end def self.configure ::Object.prepend(CustomObjectSleep) end end end
Version data entries
7 entries across 7 versions & 1 rubygems