Module: Datadog::Contrib::Patcher

Overview

Common behavior for patcher modules

Defined Under Namespace

Modules: CommonMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
11
# File 'lib/ddtrace/contrib/patcher.rb', line 8

def self.included(base)
  base.singleton_class.prepend(CommonMethods)
  base.prepend(CommonMethods) if base.instance_of?(Class)
end