Module: Datadog::Patcher

Extended by:
CommonMethods
Included in:
DeprecatedPin, MethodWrapping, Shim
Defined in:
lib/ddtrace/patcher.rb

Overview

Defines some useful patching methods for integrations

Defined Under Namespace

Modules: CommonMethods

Class Method Summary collapse

Methods included from CommonMethods

do_once, done?, without_warnings

Class Method Details

.included(base) ⇒ Object



4
5
6
7
# File 'lib/ddtrace/patcher.rb', line 4

def self.included(base)
  base.send(:extend, CommonMethods)
  base.send(:include, CommonMethods)
end