Class: Nodo
- Inherits:
-
Struct
- Object
- Struct
- Nodo
- Defined in:
- lib/alimento/lista.rb
Instance Attribute Summary collapse
-
#dato ⇒ Object
Returns the value of attribute dato.
-
#next_ ⇒ Object
Returns the value of attribute next_.
-
#prev_ ⇒ Object
Returns the value of attribute prev_.
Instance Attribute Details
#dato ⇒ Object
Returns the value of attribute dato
1 2 3 |
# File 'lib/alimento/lista.rb', line 1 def dato @dato end |
#next_ ⇒ Object
Returns the value of attribute next_
1 2 3 |
# File 'lib/alimento/lista.rb', line 1 def next_ @next_ end |
#prev_ ⇒ Object
Returns the value of attribute prev_
1 2 3 |
# File 'lib/alimento/lista.rb', line 1 def prev_ @prev_ end |