Module: Axiom::Relation::Operation::Deletion::Methods

Defined in:
lib/axiom/relation/operation/deletion.rb

Instance Method Summary collapse

Instance Method Details

#delete(other) ⇒ Deletion

Return a relation that represents a deletion from a relation

Examples:

deletion = relation.delete(other)

Parameters:

  • other (Enumerable)

Returns:



34
35
36
# File 'lib/axiom/relation/operation/deletion.rb', line 34

def delete(other)
  Deletion.new(self, coerce(other))
end