Class: Bio::FlatFileIndex::BDB_1::SecondaryNameSpace
- Inherits:
-
Template::NameSpace
- Object
- Template::NameSpace
- Bio::FlatFileIndex::BDB_1::SecondaryNameSpace
- Defined in:
- lib/bio/io/flatfile/bdb.rb
Overview
class PrimaryNameSpace
Instance Attribute Summary
Attributes inherited from Template::NameSpace
Instance Method Summary collapse
- #filename ⇒ Object
- #mapping(filename) ⇒ Object
-
#search(key) ⇒ Object
class SecondaryNameSpaces.
Methods inherited from Template::NameSpace
#close, #include?, #initialize
Constructor Details
This class inherits a constructor from Bio::FlatFileIndex::Template::NameSpace
Instance Method Details
#filename ⇒ Object
234 235 236 |
# File 'lib/bio/io/flatfile/bdb.rb', line 234 def filename File.join(dbname, "id_#{name}") end |
#mapping(filename) ⇒ Object
231 232 233 |
# File 'lib/bio/io/flatfile/bdb.rb', line 231 def mapping(filename) BDBMappingFile.new(filename) end |
#search(key) ⇒ Object
class SecondaryNameSpaces
238 239 240 241 242 |
# File 'lib/bio/io/flatfile/bdb.rb', line 238 def search(key) r = super(key) file.close r end |