# File 'lib/bio/io/flatfile/indexer.rb', line 451defself.makeindexBDB(name,parser,options,*files)# options are not used in this method
unlessdefined?(BDB)raiseRuntimeError,"Berkeley DB support not found"endDEBUG.print"makeing BDB DataBank...\n"db=DataBank.new(name,MAGIC_BDB)db.format=parser.formatdb.fileids.add(*files)db.fileids.recalcdb.primary=parser.primary.namedb.secondary=parser.secondary.namesDEBUG.print"writing config.dat, config, fileids ...\n"db.write('wb',BDBdefault::flag_write)DEBUG.print"reading files...\n"addindex_bdb(db,BDBdefault::flag_write,(0...(files.size)),parser,options)db.closetrueend