Module: Axiom::Relation::Operation::Binary

Includes:
Operation::Binary
Included in:
Combination, Set
Defined in:
lib/axiom/relation/operation/binary.rb

Overview

A mixin for Binary relations

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary

Attributes included from Operation::Binary

#left, #right

Instance Method Summary collapse

Instance Method Details

#initializeundefined

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Initialize a Binary relation

Returns:

  • (undefined)


31
32
33
34
# File 'lib/axiom/relation/operation/binary.rb', line 31

def initialize(*)
  super
  @header = left.header | right.header
end