Method: Datadog::Shim.shim?
- Defined in:
- lib/ddtrace/augmentation/shim.rb
.shim?(object) ⇒ Boolean
38 39 40 41 42 43 |
# File 'lib/ddtrace/augmentation/shim.rb', line 38 def self.shim?(object) # Check whether it responds to #shim? because otherwise the # Shim forwards all method calls, including type checks to # the wrapped object, to mimimize its intrusion. object.respond_to?(:shim?) end |