Class: Rosette::Core::NilErrorReporter
- Inherits:
-
ErrorReporter
- Object
- ErrorReporter
- Rosette::Core::NilErrorReporter
- Defined in:
- lib/rosette/core/error_reporters/nil_error_reporter.rb
Overview
An error reporter that does nothing.
Class Method Summary collapse
-
.instance ⇒ NilErrorReporter
Get a reference to the only instance of
NilErrorReporter.
Instance Method Summary collapse
-
#report_error(error, options = {}) ⇒ nil
Does nothing.
-
#report_warning(error, options = {}) ⇒ nil
Does nothing.
Methods inherited from ErrorReporter
Class Method Details
.instance ⇒ NilErrorReporter
Get a reference to the only instance of NilErrorReporter.
11 12 13 |
# File 'lib/rosette/core/error_reporters/nil_error_reporter.rb', line 11 def self.instance @instance ||= new end |
Instance Method Details
#report_error(error, options = {}) ⇒ nil
Does nothing.
17 |
# File 'lib/rosette/core/error_reporters/nil_error_reporter.rb', line 17 def report_error(error, = {}); end |
#report_warning(error, options = {}) ⇒ nil
Does nothing.
21 |
# File 'lib/rosette/core/error_reporters/nil_error_reporter.rb', line 21 def report_warning(error, = {}); end |