Class: Nelson::SubtractionExpressionBuilder

Inherits:
ExpressionBuilder show all
Defined in:
lib/nelson/expression_builders/subtraction_expression_builder.rb

Instance Attribute Summary

Attributes inherited from ExpressionBuilder

#terms

Instance Method Summary collapse

Methods inherited from ExpressionBuilder

#and, #built_terms, #divided_by, #initialize, #minus, #plus, #times

Constructor Details

This class inherits a constructor from Nelson::ExpressionBuilder

Instance Method Details

#buildObject



4
5
6
# File 'lib/nelson/expression_builders/subtraction_expression_builder.rb', line 4

def build
  SubtractionExpression.new(*built_terms)
end