Class: BackgroundLite::TestErrorReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/background_lite/core_ext/error_reporters/test_error_reporter.rb

Overview

This class is used for reporting errors in a test environment.

Class Method Summary collapse

Class Method Details

.report(error) ⇒ Object

Does not actually report any error, but stores it in last_error.



7
8
9
# File 'lib/background_lite/core_ext/error_reporters/test_error_reporter.rb', line 7

def self.report(error)
  self.last_error = error
end