Method: Bio::FlatFile#pos
- Defined in:
- lib/bio/io/flatfile.rb
#pos ⇒ Object
Returns current position of input stream. If the input stream is not a normal file, the result is not guaranteed. It is similar to IO#pos. Note that it will not be equal to io.pos, because FlatFile has its own internal buffer.
361 362 363 |
# File 'lib/bio/io/flatfile.rb', line 361 def pos @stream.pos end |