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)



343
344
345
346
347
# File 'lib/bio/io/flatfile.rb', line 343

def rewind
  r = (@splitter || @stream).rewind
  @firsttime_flag = true
  r
end