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