lib/ddtrace/contrib/http/instrumentation.rb in ddtrace-0.49.0 vs lib/ddtrace/contrib/http/instrumentation.rb in ddtrace-0.50.0
- old
+ new
@@ -12,10 +12,10 @@
module Contrib
module HTTP
# Instrumentation for Net::HTTP
module Instrumentation
def self.included(base)
- base.send(:prepend, InstanceMethods)
+ base.prepend(InstanceMethods)
end
# Span hook invoked after request is completed.
def self.after_request(&block)
if block