Module: Datadog::CI::Contrib::RSpec::Patcher
- Includes:
- Tracing::Contrib::Patcher
- Defined in:
- lib/datadog/ci/contrib/rspec/patcher.rb
Overview
Patcher enables patching of ‘rspec’ module.
Class Method Summary collapse
Class Method Details
.patch ⇒ Object
23 24 25 26 27 |
# File 'lib/datadog/ci/contrib/rspec/patcher.rb', line 23 def patch ::RSpec::Core::Example.include(Example) ::RSpec::Core::Runner.include(Runner) ::RSpec::Core::ExampleGroup.include(ExampleGroup) end |
.target_version ⇒ Object
19 20 21 |
# File 'lib/datadog/ci/contrib/rspec/patcher.rb', line 19 def target_version Integration.version end |