lib/ddtrace/contrib/mysql2/instrumentation.rb in ddtrace-0.49.0 vs lib/ddtrace/contrib/mysql2/instrumentation.rb in ddtrace-0.50.0
- old
+ new
@@ -9,10 +9,10 @@
module Contrib
module Mysql2
# Mysql2::Client patch module
module Instrumentation
def self.included(base)
- base.send(:prepend, InstanceMethods)
+ base.prepend(InstanceMethods)
end
# Mysql2::Client patch instance methods
module InstanceMethods
def query(sql, options = {})