Class: Nodo
- Inherits:
-
Struct
- Object
- Struct
- Nodo
- Defined in:
- lib/pract/nodo.rb
Overview
Create nodo as auxiliar class
Instance Attribute Summary collapse
-
#next ⇒ Object
Returns the value of attribute next.
-
#prev ⇒ Object
Returns the value of attribute prev.
-
#val ⇒ Object
Returns the value of attribute val.
Instance Attribute Details
#next ⇒ Object
Returns the value of attribute next
2 3 4 |
# File 'lib/pract/nodo.rb', line 2 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev
2 3 4 |
# File 'lib/pract/nodo.rb', line 2 def prev @prev end |
#val ⇒ Object
Returns the value of attribute val
2 3 4 |
# File 'lib/pract/nodo.rb', line 2 def val @val end |