Module: Bio::FlatFileIndex::BDBdefault
- Defined in:
- lib/bio/io/flatfile/bdb.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) flag_append
37 38 39 |
# File 'lib/bio/io/flatfile/bdb.rb', line 37 def flag_append 'r+' end |
- (Object) flag_read
27 28 29 |
# File 'lib/bio/io/flatfile/bdb.rb', line 27 def flag_read BDB::RDONLY end |
- (Object) flag_write
32 33 34 |
# File 'lib/bio/io/flatfile/bdb.rb', line 32 def flag_write (BDB::CREATE | BDB::TRUNCATE) end |
- (Object) permission
22 23 24 |
# File 'lib/bio/io/flatfile/bdb.rb', line 22 def (0666 & (0777 ^ File.umask)) end |