Class: Bio::GFF::GFF3::BioRubyFileRecord

Inherits:
Record
  • Object
show all
Defined in:
lib/bio/db/gff/file/gfffileiterator.rb

Overview

FileRecord inherits from the BioRuby Record, but adds the file seek position.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(io_seek, buf) ⇒ BioRubyFileRecord

Returns a new instance of BioRubyFileRecord.



18
19
20
21
# File 'lib/bio/db/gff/file/gfffileiterator.rb', line 18

def initialize io_seek, buf
  @io_seek = io_seek
  super(buf)
end

Instance Attribute Details

#io_seekObject

Returns the value of attribute io_seek.



17
18
19
# File 'lib/bio/db/gff/file/gfffileiterator.rb', line 17

def io_seek
  @io_seek
end