Class: Containers::List::Node
- Inherits:
-
Struct
- Object
- Struct
- Containers::List::Node
- Defined in:
- lib/containers/list.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#next ⇒ Object
Returns the value of attribute next.
-
#prev ⇒ Object
Returns the value of attribute prev.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
3 4 5 |
# File 'lib/containers/list.rb', line 3 def data @data end |
#next ⇒ Object
Returns the value of attribute next
3 4 5 |
# File 'lib/containers/list.rb', line 3 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev
3 4 5 |
# File 'lib/containers/list.rb', line 3 def prev @prev end |