Class: Zaid::Nodes::FalseNode
- Inherits:
-
LiteralNode
- Object
- Struct
- LiteralNode
- Zaid::Nodes::FalseNode
- Defined in:
- lib/zaid/nodes/false_node.rb
Instance Attribute Summary
Attributes inherited from LiteralNode
Instance Method Summary collapse
- #eval(_context) ⇒ Object
-
#initialize ⇒ FalseNode
constructor
A new instance of FalseNode.
Constructor Details
#initialize ⇒ FalseNode
Returns a new instance of FalseNode.
8 9 10 |
# File 'lib/zaid/nodes/false_node.rb', line 8 def initialize super(false) end |
Instance Method Details
#eval(_context) ⇒ Object
12 13 14 |
# File 'lib/zaid/nodes/false_node.rb', line 12 def eval(_context) Constants['خاطئ'] end |