Method: Timber::Integrator.enabled?
- Defined in:
- lib/timber/integrator.rb
.enabled? ⇒ Boolean
Note:
Disabling specific low level integrations should only be needed for edge cases. If you want to disable integration with an entire library, we recommend doing so at a higher level. Ex: ‘Timber::Integrations::ActiveRecord.enabled = false`.
Allows you to enable / disable specific integrations.
22 23 24 |
# File 'lib/timber/integrator.rb', line 22 def enabled? @enabled != false end |