class Axiom::Function::Predicate::NoMatch
A predicate representing no regexp match between operands
Public Class Methods
call(left, right)
click to toggle source
Evaluate the values for no match
@example
NoMatch.call(left, right) # => true or false
@param [Object] left @param [Object] right
@return [Boolean]
@api public
# File lib/axiom/function/predicate/no_match.rb, line 46 def self.call(left, right) left !~ right end
inverse()
click to toggle source
Return the inverse predicate class
@example
NoMatch.inverse # => Match
@return [Class<Match>]
@api public
# File lib/axiom/function/predicate/no_match.rb, line 31 def self.inverse Match end
operation()
click to toggle source
Return the NoMatch
operation
@example
NoMatch.operation # => :!~
@return [Symbol]
@api public
# File lib/axiom/function/predicate/no_match.rb, line 19 def self.operation :'!~' end