Class: Nodo
- Inherits:
-
Struct
- Object
- Struct
- Nodo
- Defined in:
- lib/prct06/lista.rb
Overview
Includes a new class which is node, fot conteins the information of the each value of the list
Instance Attribute Summary collapse
-
#anterior ⇒ Object
Returns the value of attribute anterior.
-
#siguiente ⇒ Object
Returns the value of attribute siguiente.
-
#valor ⇒ Object
Returns the value of attribute valor.
Instance Attribute Details
#anterior ⇒ Object
Returns the value of attribute anterior
7 8 9 |
# File 'lib/prct06/lista.rb', line 7 def anterior @anterior end |
#siguiente ⇒ Object
Returns the value of attribute siguiente
7 8 9 |
# File 'lib/prct06/lista.rb', line 7 def siguiente @siguiente end |
#valor ⇒ Object
Returns the value of attribute valor
7 8 9 |
# File 'lib/prct06/lista.rb', line 7 def valor @valor end |