Class: Termular::AST::Add
Instance Attribute Summary
Attributes inherited from Binary
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Termular::AST::Base
Instance Method Details
#eval(ctx) ⇒ Object
15 |
# File 'lib/termular/parser.rb', line 15 def eval(ctx) left.eval(ctx) + right.eval(ctx) end |