method

pos=

v2_6_3 - Show latest stable - Class: ARGF
pos=(p1)
public

Seeks to the position given by position (in bytes) in ARGF.

For example:

ARGF.pos = 17
ARGF.gets   #=> "This is line two\n"