Class: String

Inherits:
Object show all
Defined in:
lib/lookout-3.0.rb

Overview

Adds #to_lookout_expected to Strings for better difference reports.

Instance Method Summary collapse

Instance Method Details

#to_lookout_expectedLookout::Expected::String

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

Returns:



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

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