Sha256: 99ed9edb7f20dbc20de0a22554e5246a0cc8dd9839276ad3623941dbc11e6634

Contents?: true

Size: 430 Bytes

Versions: 6

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

require_relative "../patcher"

require_relative "instrumentation"

module Datadog
  module CI
    module Contrib
      module Cucumber
        # Patches 'cucumber' gem.
        module Patcher
          include Datadog::CI::Contrib::Patcher

          module_function

          def patch
            ::Cucumber::Runtime.include(Instrumentation)
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
datadog-ci-1.14.0 lib/datadog/ci/contrib/cucumber/patcher.rb
datadog-ci-1.13.0 lib/datadog/ci/contrib/cucumber/patcher.rb
datadog-ci-1.12.0 lib/datadog/ci/contrib/cucumber/patcher.rb
datadog-ci-1.11.0 lib/datadog/ci/contrib/cucumber/patcher.rb
datadog-ci-1.10.0 lib/datadog/ci/contrib/cucumber/patcher.rb
datadog-ci-1.9.0 lib/datadog/ci/contrib/cucumber/patcher.rb