Class: Alimento::Node
- Inherits:
-
Struct
- Object
- Struct
- Alimento::Node
- Defined in:
- lib/alimento/list.rb
Overview
Note:
Estructura de datos correspondiente a un nodo
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
5 6 7 |
# File 'lib/alimento/list.rb', line 5 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev
5 6 7 |
# File 'lib/alimento/list.rb', line 5 def prev @prev end |
#value ⇒ Object
Returns the value of attribute value
5 6 7 |
# File 'lib/alimento/list.rb', line 5 def value @value end |