Class: Bio::GFFbrowser::GFFdb
- Inherits:
-
Object
- Object
- Bio::GFFbrowser::GFFdb
- Includes:
- Digest
- Defined in:
- lib/bio/db/gff/gffdb.rb
Instance Attribute Summary collapse
-
#assembler ⇒ Object
readonly
Returns the value of attribute assembler.
Instance Method Summary collapse
-
#initialize(filename, options = {}) ⇒ GFFdb
constructor
Initialize a GFF parser.
Constructor Details
#initialize(filename, options = {}) ⇒ GFFdb
Initialize a GFF parser
26 27 28 29 30 31 32 33 34 35 |
# File 'lib/bio/db/gff/gffdb.rb', line 26 def initialize filename, = {} cache_recs = [:cache_records] @assembler = case cache_recs when :cache_none NoCache.new(filename, ) else InMemory.new(filename, ) # default end end |
Instance Attribute Details
#assembler ⇒ Object (readonly)
Returns the value of attribute assembler.
21 22 23 |
# File 'lib/bio/db/gff/gffdb.rb', line 21 def assembler @assembler end |