Module: Datadog::Contrib::Ethon::Patcher
- Includes:
- Patcher, Kernel
- Defined in:
- lib/ddtrace/contrib/ethon/patcher.rb
Overview
Patcher enables patching of 'ethon' module.
Class Method Summary collapse
Methods included from Patcher
Class Method Details
.patch ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/ddtrace/contrib/ethon/patcher.rb', line 16 def patch require 'ddtrace/ext/app_types' require 'ddtrace/contrib/ethon/easy_patch' require 'ddtrace/contrib/ethon/multi_patch' ::Ethon::Easy.include(EasyPatch) ::Ethon::Multi.include(MultiPatch) end |
.target_version ⇒ Object
12 13 14 |
# File 'lib/ddtrace/contrib/ethon/patcher.rb', line 12 def target_version Integration.version end |