module Dawg

Constants

EDGE_SIZE
NODE_SIZE
NODE_START

Public Instance Methods

load(filename, type = :small) click to toggle source
# File lib/dawg.rb, line 20
def load(filename, type = :small)
  return case type
  when :small
    MemoryDawg.load(filename)
  when :fast
    Dawg.load(filename)
  end
  dawg
end
new() click to toggle source
# File lib/dawg.rb, line 16
def new
  Dawg.new
end