Class: Nelson::SubtractionExpressionBuilder
- Inherits:
-
ExpressionBuilder
- Object
- ExpressionBuilder
- Nelson::SubtractionExpressionBuilder
- Defined in:
- lib/nelson/expression_builders/subtraction_expression_builder.rb
Instance Attribute Summary
Attributes inherited from ExpressionBuilder
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
#build ⇒ Object
4 5 6 |
# File 'lib/nelson/expression_builders/subtraction_expression_builder.rb', line 4 def build SubtractionExpression.new(*built_terms) end |