method

to_i

Importance_1
v1_9_3_125 - Show latest stable - 0 notes - Class: ARGF
to_i() public

Returns an integer representing the numeric file descriptor for the current file. Raises an ArgumentError if there isn’t a current file.

ARGF.fileno    #=> 3
Show source
Register or log in to add new notes.