Class: Termular::AST::GreaterThanEqual

Inherits:
Binary
  • Object
show all
Defined in:
lib/termular/parser.rb

Instance Attribute Summary

Attributes inherited from Binary

#left, #right

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Termular::AST::Base

Instance Method Details

#eval(ctx) ⇒ Object



23
# File 'lib/termular/parser.rb', line 23

def eval(ctx) left.eval(ctx) >= right.eval(ctx) end