Class: SimpleLogic::NegationOperator
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- SimpleLogic::NegationOperator
- Defined in:
- lib/simple_logic/syntax_nodes.rb
Instance Method Summary collapse
Instance Method Details
#eval(context) ⇒ Object
72 73 74 |
# File 'lib/simple_logic/syntax_nodes.rb', line 72 def eval(context) ! elements[1].eval(context) end |