Module: Arithmetic::Comparative0

Defined in:
lib/simplesem/arithmetic.rb

Instance Method Summary collapse

Instance Method Details

#operand_1Object



36
37
38
# File 'lib/simplesem/arithmetic.rb', line 36

def operand_1
  elements[0]
end

#operand_2Object



52
53
54
# File 'lib/simplesem/arithmetic.rb', line 52

def operand_2
  elements[4]
end

#operatorObject



44
45
46
# File 'lib/simplesem/arithmetic.rb', line 44

def operator
  elements[2]
end

#spaceObject



40
41
42
# File 'lib/simplesem/arithmetic.rb', line 40

def space
  elements[1]
end