Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
lineno()
public
The line number of the last row read from this file. Fields with nested line-end
characters will not affect this count.
# File lib/csv.rb, line 1096
def lineno
if @writer
@writer.lineno
else
parser.lineno
end
end