Method: Node#prev

Defined in:
lib/DlinkedList.rb

#prevObject

Returns the value of attribute prev

Returns:

  • (Object)

    the current value of prev



7
8
9
# File 'lib/DlinkedList.rb', line 7

def prev
  @prev
end