Class: Bio::GFFbrowser::GFF3

Inherits:
Object
  • Object
show all
Includes:
Digest
Defined in:
lib/bio/db/gff/gff3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename, options = {}) ⇒ GFF3

Initialize a GFF parser



21
22
23
24
25
26
27
28
29
30
# File 'lib/bio/db/gff/gff3.rb', line 21

def initialize filename, options = {}
  cache_recs    = options[:cache_records]
  @assembler = 
    case cache_recs
      when :cache_none 
        NoCache.new(filename, options)
      else
        InMemory.new(filename, options)  # default 
    end
end

Instance Attribute Details

#assemblerObject (readonly)

Returns the value of attribute assembler.



16
17
18
# File 'lib/bio/db/gff/gff3.rb', line 16

def assembler
  @assembler
end