Class: NutritionalCalculator::LinkedList::Node
- Inherits:
-
Struct
- Object
- Struct
- NutritionalCalculator::LinkedList::Node
- Defined in:
- lib/nutritional_calculator/linkedlist.rb
Overview
Estructura que representa a un nodo de la lista enlazada.
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
12 13 14 |
# File 'lib/nutritional_calculator/linkedlist.rb', line 12 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev
12 13 14 |
# File 'lib/nutritional_calculator/linkedlist.rb', line 12 def prev @prev end |
#value ⇒ Object
Returns the value of attribute value
12 13 14 |
# File 'lib/nutritional_calculator/linkedlist.rb', line 12 def value @value end |