Method: Lookout::Difference::Object#message

Defined in:
lib/lookout-3.0/difference/object.rb

#message::String

Note:

Subclasses may override this method to provide more specific messages for their specific types.

Returns The concatenation of #inspect_actual, #symbol, and #inspect_expected, explaining how #actual differs from #expected.

Returns:

  • (::String)

    The concatenation of #inspect_actual, #symbol, and #inspect_expected, explaining how #actual differs from #expected



19
# File 'lib/lookout-3.0/difference/object.rb', line 19

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