module Axiom::Operation::Binary

Attributes

left[R]

The left operand for the operation

@example

left = binary.left

@return [Object]

@api public

right[R]

The right operand for the operation

@example

right = binary.right

@return [Object]

@api public

Public Class Methods

new(left, right) click to toggle source

Initialize Binary Operation

@param [Object] left

the left operand for the operation

@param [Object] right

the right operand for the operation

@return [undefined]

@api private

# File lib/axiom/support/operation/binary.rb, line 38
def initialize(left, right)
  freezer = self.class.freezer
  @left   = freezer.call(left)
  @right  = freezer.call(right)
end