method

pos=

v1_9_2_180 - Show latest stable - Class: IO
pos=(p1)
public

Seeks to the given position (in bytes) in ios.

f = File.new("testfile")
f.pos = 17
f.gets   #=> "This is line two\n"