Class: BOAST::Mult
- Inherits:
-
Expression
- Object
- Expression
- BOAST::Mult
- Defined in:
- lib/BOAST/Algorithm.rb
Instance Attribute Summary
Attributes inherited from Expression
#operand1, #operand2, #operator
Instance Method Summary collapse
-
#initialize(operand1, operand2) ⇒ Mult
constructor
A new instance of Mult.
Methods inherited from Expression
#!, #*, #+, #-, #-@, #/, #<, #==, #===, #>, #>=, #dereference, parens, #print, #struct_reference, #to_s, #to_str, #to_var
Constructor Details
#initialize(operand1, operand2) ⇒ Mult
Returns a new instance of Mult.
333 334 335 |
# File 'lib/BOAST/Algorithm.rb', line 333 def initialize(operand1, operand2) super("*", operand1, operand2) end |