Class: RubyDataStructures::DoublyLinkedList::Element
- Inherits:
-
SinglyLinkedList::Element
- Object
- SinglyLinkedList::Element
- RubyDataStructures::DoublyLinkedList::Element
- Defined in:
- lib/RubyDataStructures/doubly_linked_list/element.rb
Instance Attribute Summary collapse
-
#previous ⇒ Object
Returns the value of attribute previous.
Attributes inherited from SinglyLinkedList::Element
Method Summary
Methods inherited from SinglyLinkedList::Element
Constructor Details
This class inherits a constructor from RubyDataStructures::SinglyLinkedList::Element
Instance Attribute Details
#previous ⇒ Object
Returns the value of attribute previous.
2 3 4 |
# File 'lib/RubyDataStructures/doubly_linked_list/element.rb', line 2 def previous @previous end |