Class: Wallace::Koza::Literal
- Inherits:
-
Terminal
- Object
- KozaNodeValue
- Terminal
- Wallace::Koza::Literal
- Defined in:
- lib/modules/koza/koza_node_value.rb
Overview
Holds a literal option from the terminal set.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Terminal
Instance Method Summary collapse
-
#eval(args) ⇒ Object
Evaluates this terminal.
Methods inherited from Terminal
Constructor Details
This class inherits a constructor from Wallace::Koza::Terminal
Instance Method Details
#eval(args) ⇒ Object
Evaluates this terminal.
Parameters:
-
args, the arguments to the program.
39 40 41 |
# File 'lib/modules/koza/koza_node_value.rb', line 39 def eval(args) @value end |