Class: Nodo
- Inherits:
-
Struct
- Object
- Struct
- Nodo
- Defined in:
- lib/huella/nodo.rb
Overview
Define la estructura de un nodo
* Valor
* Puntero al nodo proximo
* Puntero al nodo previo
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
7 8 9 |
# File 'lib/huella/nodo.rb', line 7 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev
7 8 9 |
# File 'lib/huella/nodo.rb', line 7 def prev @prev end |
#value ⇒ Object
Returns the value of attribute value
7 8 9 |
# File 'lib/huella/nodo.rb', line 7 def value @value end |