module Axiom::Relation::Operation::Binary

A mixin for Binary relations

Public Class Methods

new(*) click to toggle source

Initialize a Binary relation

@return [undefined]

@api private

Calls superclass method Axiom::Operation::Binary::new
# File lib/axiom/relation/operation/binary.rb, line 31
def initialize(*)
  super
  @header = left.header | right.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 Binary

@return [undefined]

@api private

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