module Datadog::Contrib::Rake::Patcher
Patcher
enables patching of 'rake' module.
Public Instance Methods
get_option(option)
click to toggle source
# File lib/ddtrace/contrib/rake/patcher.rb, line 24 def get_option(option) Datadog.configuration[:rake].get_option(option) end
patch()
click to toggle source
# File lib/ddtrace/contrib/rake/patcher.rb, line 19 def patch # Add instrumentation patch to Rake task ::Rake::Task.send(:include, Instrumentation) end
target_version()
click to toggle source
# File lib/ddtrace/contrib/rake/patcher.rb, line 15 def target_version Integration.version end