Method: Bio::FlatFile#rewind

Defined in:
lib/bio/io/flatfile.rb

#rewindObject

Resets file pointer to the start of the flatfile. (similar to IO#rewind)



662
663
664
665
666
# File 'lib/bio/io/flatfile.rb', line 662

def rewind
  r = @stream.rewind
  @firsttime_flag = true
  r
end