Class: Node
- Inherits:
-
Struct
- Object
- Struct
- Node
- Defined in:
- lib/prct6/listas.rb
Overview
Creación de la clase List con la estructura Node
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
4 5 6 |
# File 'lib/prct6/listas.rb', line 4 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev
4 5 6 |
# File 'lib/prct6/listas.rb', line 4 def prev @prev end |
#value ⇒ Object
Returns the value of attribute value
4 5 6 |
# File 'lib/prct6/listas.rb', line 4 def value @value end |