Class: DllNode
- Inherits:
-
Struct
- Object
- Struct
- DllNode
- Defined in:
- lib/TDD/DllNode.rb
Overview
Note:
“prev” and “next” are nodes, the previous and next one respectively. Value can be of any type
Struct that represents a node of a Double Linked List.
Instance Attribute Summary collapse
-
#next ⇒ Object
Returns the value of attribute next.
-
#prev ⇒ Object
Returns the value of attribute prev.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#next ⇒ Object
Returns the value of attribute next
3 4 5 |
# File 'lib/TDD/DllNode.rb', line 3 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev
3 4 5 |
# File 'lib/TDD/DllNode.rb', line 3 def prev @prev end |
#value ⇒ Object
Returns the value of attribute value
3 4 5 |
# File 'lib/TDD/DllNode.rb', line 3 def value @value end |