Class: Wallace::Koza::Terminal
- Inherits:
-
KozaNodeValue
- Object
- KozaNodeValue
- Wallace::Koza::Terminal
- Defined in:
- lib/modules/koza/koza_node_value.rb
Overview
Holds an option from the terminal set.
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Terminal
constructor
Constructs a terminal.
Constructor Details
#initialize(value) ⇒ Terminal
Constructs a terminal.
Parameters:
-
value, the value of the node.
13 14 15 |
# File 'lib/modules/koza/koza_node_value.rb', line 13 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7 8 9 |
# File 'lib/modules/koza/koza_node_value.rb', line 7 def value @value end |