module Bio::FlatFileIndex::BDBdefault

Public Class Methods

flag_append() click to toggle source
# File lib/bio/io/flatfile/bdb.rb, line 37
def flag_append
  'r+'
end
flag_read() click to toggle source
# File lib/bio/io/flatfile/bdb.rb, line 27
def flag_read
  BDB::RDONLY
end
flag_write() click to toggle source
# File lib/bio/io/flatfile/bdb.rb, line 32
def flag_write
  (BDB::CREATE | BDB::TRUNCATE)
end
permission() click to toggle source
# File lib/bio/io/flatfile/bdb.rb, line 22
def permission
  (0666 & (0777 ^ File.umask))
end