method

pos

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: ARGF
pos() 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
Show source
Register or log in to add new notes.