Method: Doku::DancingLinks::LinkMatrix#initialize

Defined in:
lib/doku/dancing_links.rb

#initializeLinkMatrix

Creates a new, empty matrix with no columns and no rows.



287
288
289
290
291
# File 'lib/doku/dancing_links.rb', line 287

def initialize
  @left = @right = self
  @columns = {}   # column_id object => Column
  @rows = {} # row_id object => Node
end