class DataStructList::Node

Attributes

hash[RW]
id[R]
next[RW]

Public Class Methods

new(hash) click to toggle source
# File lib/data_struct_list.rb, line 15
def initialize(hash)
  @@id_quantify ||= 0
  @id = @@id_quantify
  @@id_quantify+=1
  @hash = hash
  @next = nil
end