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