disu.se

RegexpClass

Namespace

Lookout::Expected

Ancestors
  1. Object

  2. Value

  3. Object

Represents expected ::Regexps.

Constructor

This class inherits its constructor from Object.

Instance Methods

difference(actual::Regexp)Difference::Regexp?#

Returns a difference report between actual and #expected unless they’re #== or actual is matched by #expected.