Class: ReturnValue
- Inherits:
-
Object
- Object
- ReturnValue
- Defined in:
- lib/nodes.rb
Overview
Wrapper class for specifying that a value is a return value.
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ ReturnValue
constructor
A new instance of ReturnValue.
Constructor Details
#initialize(value) ⇒ ReturnValue
Returns a new instance of ReturnValue.
227 228 229 |
# File 'lib/nodes.rb', line 227 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
226 227 228 |
# File 'lib/nodes.rb', line 226 def value @value end |