method

tell

v2_4_6 - Show latest stable - Class: ARGF
tell()
public

Returns the current offset (in bytes) of the current file in ARGF.

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