module Axiom::Relation::Operation::Set

A mixin for Set relations

Public Class Methods

new(_left, _right) click to toggle source

Initialize a Set

@param [Relation] _left @param [Relation] _right

@return [undefined]

@api private

Calls superclass method Axiom::Relation::Operation::Binary::new
# File lib/axiom/relation/operation/set.rb, line 34
def initialize(_left, _right)
  super
  @header = left.header
end

Private Class Methods

included(descendant) click to toggle source

Hook called when module is included

@param [Module] descendant

the module or class including Set

@return [undefined]

@api private

# File lib/axiom/relation/operation/set.rb, line 19
def self.included(descendant)
  super
  descendant.extend(ClassMethods)
end