Class: Bio::FlatFileIndex::Flat_1::PrimaryNameSpace

Inherits:
Template::NameSpace show all
Defined in:
lib/bio/io/flatfile/index.rb

Overview

primary name space

Internal use only.

Instance Attribute Summary

Attributes inherited from Template::NameSpace

#dbname, #file, #name

Instance Method Summary collapse

Methods inherited from Template::NameSpace

#close, #include?, #initialize, #search

Constructor Details

This class inherits a constructor from Bio::FlatFileIndex::Template::NameSpace

Instance Method Details

#filenameObject



1018
1019
1020
# File 'lib/bio/io/flatfile/index.rb', line 1018

def filename
  File.join(dbname, "key_#{name}.key")
end

#mapping(filename) ⇒ Object



1015
1016
1017
# File 'lib/bio/io/flatfile/index.rb', line 1015

def mapping(filename)
  FlatMappingFile.new(filename)
end