Class: Einutricional::DoubleLinkedList::Node
- Inherits:
-
Struct
- Object
- Struct
- Einutricional::DoubleLinkedList::Node
- Defined in:
- lib/einutricional/double_linked_list.rb
Overview
Nodo para almacenar un objeto y referencias a los nodos contiguos
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
8 9 10 |
# File 'lib/einutricional/double_linked_list.rb', line 8 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev
8 9 10 |
# File 'lib/einutricional/double_linked_list.rb', line 8 def prev @prev end |
#value ⇒ Object
Returns the value of attribute value
8 9 10 |
# File 'lib/einutricional/double_linked_list.rb', line 8 def value @value end |