class Node

Attributes

next[RW]
value[RW]

Public Class Methods

new(value, nxt = nil) click to toggle source
# File lib/node-list/node.rb, line 4
def initialize(value, nxt = nil)
  @value = value
  @next = nxt
end