Sha256: d55a83731d72e654be900ee116b4c285546133229427c8afd0ac697cb2c3ed38

Contents?: true

Size: 474 Bytes

Versions: 2

Compression:

Stored size: 474 Bytes

Contents

require_relative '../patcher'
require_relative 'cache/patcher'

module Datadog
  module Tracing
    module Contrib
      module ActiveSupport
        # Patcher enables patching of 'active_support' module.
        module Patcher
          include Contrib::Patcher

          module_function

          def target_version
            Integration.version
          end

          def patch
            Cache::Patcher.patch
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddtrace-1.10.1 lib/datadog/tracing/contrib/active_support/patcher.rb
ddtrace-1.10.0 lib/datadog/tracing/contrib/active_support/patcher.rb