Class: DataStructures::LinkedList::LLNode
- Inherits:
-
Struct
- Object
- Struct
- DataStructures::LinkedList::LLNode
- Defined in:
- lib/datastructures/linked_list.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#next ⇒ Object
Returns the value of attribute next.
-
#previous ⇒ Object
Returns the value of attribute previous.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
7 8 9 |
# File 'lib/datastructures/linked_list.rb', line 7 def data @data end |
#next ⇒ Object
Returns the value of attribute next
7 8 9 |
# File 'lib/datastructures/linked_list.rb', line 7 def next @next end |
#previous ⇒ Object
Returns the value of attribute previous
7 8 9 |
# File 'lib/datastructures/linked_list.rb', line 7 def previous @previous end |