Module: Datadog::Contrib::Patchable::InstanceMethods
- Defined in:
- lib/ddtrace/contrib/patchable.rb
Overview
Instance methods for integrations
Instance Method Summary collapse
Instance Method Details
#patch ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'lib/ddtrace/contrib/patchable.rb', line 31 def patch if !self.class.compatible? || patcher.nil? Datadog::Tracer.log.warn("Unable to patch #{self.class.name}") return end patcher.patch end |
#patcher ⇒ Object
27 28 29 |
# File 'lib/ddtrace/contrib/patchable.rb', line 27 def patcher nil end |