Class: Regexp

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

Overview

Adds #to_lookout_expected to Regexps for better difference reports.

Instance Method Summary collapse

Instance Method Details

#to_lookout_expectedLookout::Expected::Regexps

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

Returns:

  • (Lookout::Expected::Regexps)

    A wrapper around the receiver, making it an expected value



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

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