Module: Arithmetic::Multitive0

Defined in:
lib/simplesem/arithmetic.rb

Instance Method Summary collapse

Instance Method Details

#operand_1Object



350
351
352
# File 'lib/simplesem/arithmetic.rb', line 350

def operand_1
  elements[0]
end

#operand_2Object



366
367
368
# File 'lib/simplesem/arithmetic.rb', line 366

def operand_2
  elements[4]
end

#operatorObject



358
359
360
# File 'lib/simplesem/arithmetic.rb', line 358

def operator
  elements[2]
end

#spaceObject



354
355
356
# File 'lib/simplesem/arithmetic.rb', line 354

def space
  elements[1]
end