Module: Datadog::Tracing::Contrib::Rake::Patcher
- Includes:
- Patcher
- Defined in:
- lib/datadog/tracing/contrib/rake/patcher.rb
Overview
Patcher enables patching of ‘rake’ module.
Class Method Summary collapse
Methods included from Patcher
Class Method Details
.get_option(option) ⇒ Object
26 27 28 |
# File 'lib/datadog/tracing/contrib/rake/patcher.rb', line 26 def get_option(option) Datadog.configuration.tracing[:rake].get_option(option) end |
.patch ⇒ Object
21 22 23 24 |
# File 'lib/datadog/tracing/contrib/rake/patcher.rb', line 21 def patch # Add instrumentation patch to Rake task ::Rake::Task.include(Instrumentation) end |
.target_version ⇒ Object
17 18 19 |
# File 'lib/datadog/tracing/contrib/rake/patcher.rb', line 17 def target_version Integration.version end |