Module: FormulaDSL::BinaryOperations
- Defined in:
- lib/formula_dsl/binary_operations.rb
Constant Summary collapse
- ADDITION =
Proc.new{|left_term, right_term| "#{left_term} + #{right_term}" }
- SUBTRACTION =
Proc.new{|left_term, right_term| "#{left_term} - #{right_term}" }
- DIVISION =
Proc.new{|left_term, right_term| "#{left_term} / #{right_term}" }
- MULTIPLICATION =
Proc.new{|left_term, right_term| "#{left_term} * #{right_term}" }