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

- (Object) filename



1028
1029
1030
# File 'lib/bio/io/flatfile/index.rb', line 1028

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

- (Object) mapping(filename)



1025
1026
1027
# File 'lib/bio/io/flatfile/index.rb', line 1025

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