Module: Axiom::Function::Predicate::NoMatch::Methods

Included in:
Attribute::String
Defined in:
lib/axiom/function/predicate/no_match.rb

Instance Method Summary collapse

Instance Method Details

#no_match(regexp) ⇒ NoMatch

Compare the left to see if does not match the right

Examples:

no_match = expression.no_match(regexp)

Parameters:

  • regexp (Regexp)

Returns:



62
63
64
# File 'lib/axiom/function/predicate/no_match.rb', line 62

def no_match(regexp)
  NoMatch.new(self, regexp)
end