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