Class: Node
- Inherits:
-
Struct
- Object
- Struct
- Node
- Defined in:
- lib/gema6/node.rb
Overview
Create a Struct with :value and :next
Instance Attribute Summary collapse
-
#next ⇒ Object
Returns the value of attribute next.
-
#previous ⇒ Object
Returns the value of attribute previous.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#next ⇒ Object
Returns the value of attribute next
2 3 4 |
# File 'lib/gema6/node.rb', line 2 def next @next end |
#previous ⇒ Object
Returns the value of attribute previous
2 3 4 |
# File 'lib/gema6/node.rb', line 2 def previous @previous end |
#value ⇒ Object
Returns the value of attribute value
2 3 4 |
# File 'lib/gema6/node.rb', line 2 def value @value end |