Class: ExaltedMath::Node::Multiply
- Inherits:
-
Operator
- Object
- ExaltedMath::Node
- Operator
- ExaltedMath::Node::Multiply
- Defined in:
- lib/exalted_math/node/multiply.rb
Instance Attribute Summary
Attributes inherited from Operator
Instance Method Summary collapse
Methods inherited from Operator
#==, #constant?, #initialize, #simplify, #valid?
Methods inherited from ExaltedMath::Node
#constant?, #initialize, #simplify, #valid?
Constructor Details
This class inherits a constructor from ExaltedMath::Node::Operator
Instance Method Details
#value(context = {}) ⇒ Object
7 8 9 |
# File 'lib/exalted_math/node/multiply.rb', line 7 def value(context={}) left.value(context) * right.value(context) end |