Class: Spreadshit::Formula::BinaryOperation

Inherits:
Struct
  • Object
show all
Defined in:
lib/spreadshit/formula.rb

Direct Known Subclasses

Addition, Division, Multiplication, Subtraction

Instance Attribute Summary collapse

Instance Attribute Details

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



23
24
25
# File 'lib/spreadshit/formula.rb', line 23

def left
  @left
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



23
24
25
# File 'lib/spreadshit/formula.rb', line 23

def right
  @right
end