method

pos

Importance_1
v1_9_2_180 - Show latest stable - 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.