Sha256: 91dc49045be5405e5d47cf16a70a9b8c7cdeea19fe534c5a98ed8f28e0c26e57

Contents?: true

Size: 240 Bytes

Versions: 10

Compression:

Stored size: 240 Bytes

Contents

# encoding: utf-8

module Hyperdrive
  module Instrumenters
    class Noop
      def self.instrument(name, payload = {})
        if block_given?
          yield payload
        else
          payload
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hyperdrive-0.0.25 lib/hyperdrive/instrumenters/noop.rb
hyperdrive-0.0.24 lib/hyperdrive/instrumenters/noop.rb
hyperdrive-0.0.23 lib/hyperdrive/instrumenters/noop.rb
hyperdrive-0.0.22 lib/hyperdrive/instrumenters/noop.rb
hyperdrive-0.0.21 lib/hyperdrive/instrumenters/noop.rb
hyperdrive-0.0.20 lib/hyperdrive/instrumenters/noop.rb
hyperdrive-0.0.19 lib/hyperdrive/instrumenters/noop.rb
hyperdrive-0.0.18 lib/hyperdrive/instrumenters/noop.rb
hyperdrive-0.0.17 lib/hyperdrive/instrumenters/noop.rb
hyperdrive-0.0.16 lib/hyperdrive/instrumenters/noop.rb