module Axiom::Function::Predicate::Exclusion::Methods

Public Instance Methods

exclude(other) click to toggle source

Compare the left to see if it is excluded from the right

@example

exclusion = attribute.exclude([1, 2, 3])

@param [Function] other

@return [Exclusion]

@api public

# File lib/axiom/function/predicate/exclusion.rb, line 52
def exclude(other)
  Exclusion.new(self, other)
end