Exception: Exception

Defined in:
lib/lookout-3.0.rb

Overview

Adds #to_lookout_expected to Exceptions and their classes for better difference reports.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.to_lookout_expectedLookout::Expected::Classes::Exception

Returns A wrapper around the receiver, making it an expected value.

Returns:



112
# File 'lib/lookout-3.0.rb', line 112

def to_lookout_expected; Lookout::Expected::Classes::Exception.new(self) end

Instance Method Details

#to_lookout_expectedLookout::Expected::Exception

Returns A wrapper around the receiver, making it an expected value.

Returns:



117
# File 'lib/lookout-3.0.rb', line 117

def to_lookout_expected; Lookout::Expected::Exception.new(self) end