ARGF.readlines(sep=$/) â array
ARGF.readlines(limit) â array
ARGF.readlines(sep, limit) â array
ARGF.readlines(limit) â array
ARGF.readlines(sep, limit) â array
Instance Public methods
Reads ARGF
's current file in its entirety, returning an
Array
of its lines, one line per element. Lines are assumed to
be separated by sep.
lines = ARGF.readlines lines[0] #=> "This is line one\n"
Please login to continue.