# File lib/innodb/list.rb, line 138 def initialize(list, node=:min, direction=:forward) @initial = true @list = list @direction = direction case node when :min @node = @list.first when :max @node = @list.last else @node = node end end