lineno()
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