gets(sep=$/) â string or nilgets(limit) â string or nilgets(sep,limit) â string or nil
Instance Public methods
Returns (and assigns to $_) the next line from the list of
files in ARGV (or $*), or from standard input if
no files are present on the command line. Returns nil at end
of file. The optional argument specifies the record separator. The
separator is included with the contents of each record. A separator of
nil reads the entire contents, and a zero-length separator
r