Class: Zaid::Nodes::FloatNode
- Inherits:
-
LiteralNode
- Object
- Struct
- LiteralNode
- Zaid::Nodes::FloatNode
- Defined in:
- lib/zaid/nodes/float_node.rb
Instance Attribute Summary
Attributes inherited from LiteralNode
Instance Method Summary collapse
Instance Method Details
#eval(_context) ⇒ Object
8 9 10 |
# File 'lib/zaid/nodes/float_node.rb', line 8 def eval(_context) Constants['عدد_عشري'].new_with_value(value) end |