module Datadog::Contrib::Patcher
Common behavior for patcher modules
Public Class Methods
included(base)
click to toggle source
# File lib/ddtrace/contrib/patcher.rb, line 7 def self.included(base) base.send(:include, Datadog::Patcher) base.singleton_class.send(:prepend, CommonMethods) base.send(:prepend, CommonMethods) if base.class == Class end