Class: List::Node
- Inherits:
-
Struct
- Object
- Struct
- List::Node
- Defined in:
- lib/alimentos/list.rb
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/alimentos/list.rb', line 4 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev
4 5 6 |
# File 'lib/alimentos/list.rb', line 4 def prev @prev end |
#value ⇒ Object
Returns the value of attribute value
4 5 6 |
# File 'lib/alimentos/list.rb', line 4 def value @value end |