method

to_i

Importance_1
Ruby latest stable (v2_5_5) - 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.