Module: Axiom::Function::Predicate::Exclusion::Methods

Included in:
Attribute::Object
Defined in:
lib/axiom/function/predicate/exclusion.rb

Instance Method Summary collapse

Instance Method Details

#exclude(other) ⇒ Exclusion

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

Examples:

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

Parameters:

Returns:



52
53
54
# File 'lib/axiom/function/predicate/exclusion.rb', line 52

def exclude(other)
  Exclusion.new(self, other)
end