class DoublyLinkedListNode

Attributes

next[RW]
prev[RW]
val[RW]

Public Class Methods

new(val, _next, _prev) click to toggle source
# File lib/collection_framework/doubly_linked_list/node.rb, line 6
def initialize(val, _next, _prev)
  @val = val
  @next = _next
  @prev = _prev
end