module Axiom::Algebra::Product::Methods

Public Instance Methods

product(other) click to toggle source

Return a relation that is the cartesian product of two relations

@example

product = relation.product(other)

@param [Relation] other

the other relation to find the product with

@return [Product]

@api public

# File lib/axiom/algebra/product.rb, line 114
def product(other)
  Product.new(self, other)
end