lib/ddtrace/contrib/patcher.rb in ddtrace-0.45.0 vs lib/ddtrace/contrib/patcher.rb in ddtrace-0.46.0

- old
+ new

@@ -6,10 +6,10 @@ module Patcher def self.included(base) base.send(:include, Datadog::Patcher) base.singleton_class.send(:prepend, CommonMethods) - base.send(:prepend, CommonMethods) if base.class == Class + base.send(:prepend, CommonMethods) if base.instance_of?(Class) end # Prepended instance methods for all patchers module CommonMethods def patch_name