Class: Node
- Inherits:
-
Struct
- Object
- Struct
- Node
- Defined in:
- lib/prct06/nodo.rb
Overview
Esta estructura es la definida para los nodos que formaran la lista doblemente enlazada Su desarrollo ha sido dirigido por pruebas (TDD).
- Author
-
Sergio Ferrera de Diego (sergioferrera1296@gmail.com)
- Copyright
-
Cretive Commons
- License
-
Distributes under the same terms as Ruby
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
9 10 11 |
# File 'lib/prct06/nodo.rb', line 9 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev
9 10 11 |
# File 'lib/prct06/nodo.rb', line 9 def prev @prev end |
#value ⇒ Object
Returns the value of attribute value
9 10 11 |
# File 'lib/prct06/nodo.rb', line 9 def value @value end |