Module: Datadog::CI::Contrib::Simplecov::Patcher

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

Overview

Patcher enables patching of ‘SimpleCov’ module.

Class Method Summary collapse

Class Method Details

.patchObject



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

def patch
  ::SimpleCov.include(ResultExtractor)
end

.target_versionObject



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

def target_version
  Integration.version
end