Module: Equation::Additive0

Defined in:
lib/equation_grammar.rb

Instance Method Summary collapse

Instance Method Details

#operandObject



556
557
558
# File 'lib/equation_grammar.rb', line 556

def operand
  elements[3]
end

#operatorObject



548
549
550
# File 'lib/equation_grammar.rb', line 548

def operator
  elements[1]
end

#space1Object



544
545
546
# File 'lib/equation_grammar.rb', line 544

def space1
  elements[0]
end

#space2Object



552
553
554
# File 'lib/equation_grammar.rb', line 552

def space2
  elements[2]
end