lib/ddtrace/contrib/ethon/multi_patch.rb in ddtrace-0.49.0 vs lib/ddtrace/contrib/ethon/multi_patch.rb in ddtrace-0.50.0
- old
+ new
@@ -9,10 +9,10 @@
module Ethon
# Ethon MultiPatch
module MultiPatch
def self.included(base)
# No need to prepend here since add method is included into Multi class
- base.send(:include, InstanceMethods)
+ base.include(InstanceMethods)
end
# InstanceMethods - implementing instrumentation
module InstanceMethods
def add(easy)