Module: Datadog::CI::Contrib::Cucumber::Patcher

Includes:
Tracing::Contrib::Patcher
Defined in:
lib/datadog/ci/contrib/cucumber/patcher.rb

Overview

Patches ‘cucumber’ gem.

Class Method Summary collapse

Class Method Details

.patchObject



21
22
23
# File 'lib/datadog/ci/contrib/cucumber/patcher.rb', line 21

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

.target_versionObject



17
18
19
# File 'lib/datadog/ci/contrib/cucumber/patcher.rb', line 17

def target_version
  Integration.version
end