Module: Datadog::Contrib::Patchable::ClassMethods
- Defined in:
- lib/ddtrace/contrib/patchable.rb
Overview
Class methods for integrations
Instance Method Summary collapse
Instance Method Details
#compatible? ⇒ Boolean
20 21 22 |
# File 'lib/ddtrace/contrib/patchable.rb', line 20 def compatible? RUBY_VERSION >= '1.9.3' && present? end |
#present? ⇒ Boolean
16 17 18 |
# File 'lib/ddtrace/contrib/patchable.rb', line 16 def present? !version.nil? end |
#version ⇒ Object
12 13 14 |
# File 'lib/ddtrace/contrib/patchable.rb', line 12 def version nil end |