Class: Node
- Inherits:
-
Struct
- Object
- Struct
- Node
- Defined in:
- lib/prct06/ListaEnlazada.rb
Overview
Estructura usada como nodo para la lista doblemente enlazada.
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
5 6 7 |
# File 'lib/prct06/ListaEnlazada.rb', line 5 def next @next end |
#previous ⇒ Object
Returns the value of attribute previous
5 6 7 |
# File 'lib/prct06/ListaEnlazada.rb', line 5 def previous @previous end |
#value ⇒ Object
Returns the value of attribute value
5 6 7 |
# File 'lib/prct06/ListaEnlazada.rb', line 5 def value @value end |