Module: Axiom::Algebra::Intersection::Methods

Extended by:
Axiom::Aliasable
Defined in:
lib/axiom/algebra/intersection.rb

Instance Method Summary collapse

Methods included from Axiom::Aliasable

inheritable_alias

Instance Method Details

#intersect(other) ⇒ Intersection

Return the intersection between relations

Examples:

intersection = relation.intersect(other)

Parameters:

Returns:



73
74
75
# File 'lib/axiom/algebra/intersection.rb', line 73

def intersect(other)
  Intersection.new(self, other)
end