Sha256: 8431b3a573a2fb154304fa027befc1c822b6c0f38530dec73ad010bd1564edfe
Contents?: true
Size: 602 Bytes
Versions: 6
Compression:
Stored size: 602 Bytes
Contents
module Datadog module Contrib module Ethon # Patcher enables patching of 'ethon' module. module Patcher include Contrib::Patcher module_function def patched? done?(:ethon) end def patch do_once(:ethon) do require 'ddtrace/ext/app_types' require 'ddtrace/contrib/ethon/easy_patch' require 'ddtrace/contrib/ethon/multi_patch' ::Ethon::Easy.send(:include, EasyPatch) ::Ethon::Multi.send(:include, MultiPatch) end end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems