Class: BooleanExpr
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- BooleanExpr
- Defined in:
- lib/emerald/nodes/boolean_expr.rb
Overview
The boolean condition for a logic statement
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#truthy?(context) ⇒ Boolean
8 9 10 |
# File 'lib/emerald/nodes/boolean_expr.rb', line 8 def truthy?(context) elements.first.truthy?(context) end |