Method: Bio::FlatFile#pos=
- Defined in:
- lib/bio/io/flatfile.rb
#pos=(p) ⇒ Object
(Not recommended to use it.) Sets 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.
372 373 374 |
# File 'lib/bio/io/flatfile.rb', line 372 def pos=(p) @stream.pos=(p) end |