Class: StoreNode
Instance Attribute Summary
Attributes inherited from UnaryNode
Instance Method Summary collapse
Methods inherited from UnaryNode
Constructor Details
This class inherits a constructor from UnaryNode
Instance Method Details
#evaluate ⇒ Object
64 65 66 |
# File 'lib/ast.rb', line 64 def evaluate() $calc.memory = @subTree.evaluate() end |
#intialize(subTree) ⇒ Object
61 62 63 |
# File 'lib/ast.rb', line 61 def intialize(subTree) super(subTree) end |