Module: Veritas::Function::Predicate::Exclusion::Methods

Included in:
Attribute::Object
Defined in:
lib/veritas/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:



64
65
66
# File 'lib/veritas/function/predicate/exclusion.rb', line 64

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