Method: Bio::FlatFile#eof?
- Defined in:
- lib/bio/io/flatfile.rb
#eof? ⇒ Boolean
Returns true if input stream is end-of-file. Otherwise, returns false. (Similar to IO#eof?, but may not be equal to io.eof?, because FlatFile has its own internal buffer.)
380 381 382 |
# File 'lib/bio/io/flatfile.rb', line 380 def eof? @stream.eof? end |