Class: Rollbar::Mode::Development
- Inherits:
-
Object
- Object
- Rollbar::Mode::Development
- Defined in:
- lib/rollbar/mode/development.rb
Overview
Rollbar development minor mode
Class Method Summary collapse
-
.apply ⇒ Object
:reek:TooManyStatements.
Class Method Details
.apply ⇒ Object
:reek:TooManyStatements
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/rollbar/mode/development.rb', line 11 def apply Rollbar.reset_notifier! Rollbar.notifier = Rollbar::Mode::LocalNotifier.new Rollbar.configure do |config| config.enabled = false config.raise_on_error = true end warn 'Rollbar: disabled, errors re-raised automatically' end |