Class: Lookout::Difference::Lookout::Actual::Method

Inherits:
Object
  • Object
show all
Defined in:
lib/lookout-3.0/difference/lookout/actual/method.rb

Overview

Difference reports between Actual::Methods.

Direct Known Subclasses

Not::Method

Instance Attribute Summary

Attributes inherited from Object

#actual, #expected

Instance Method Summary collapse

Methods inherited from Object

#==, #diff, #hash, #initialize, #to_s

Constructor Details

This class inherits a constructor from Lookout::Difference::Object

Instance Method Details

#message::String

Returns A String of the form ¬Object#actual#Object#expected, where Object#actual is the object that the query method Object#expected was invoked upon.

Returns:



7
# File 'lib/lookout-3.0/difference/lookout/actual/method.rb', line 7

def message; [symbol, inspect_actual, inspect_expected].join('') end