Class: Termular::AST::Negate
Instance Attribute Summary collapse
-
#expression ⇒ Object
Returns the value of attribute expression.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Termular::AST::Base
Instance Attribute Details
#expression ⇒ Object
Returns the value of attribute expression.
26 27 28 |
# File 'lib/termular/parser.rb', line 26 def expression @expression end |
Instance Method Details
#eval(ctx) ⇒ Object
27 28 29 |
# File 'lib/termular/parser.rb', line 27 def eval(ctx) -expression.eval(ctx) end |