rewind()
Rewinds the underlying IO object and resets CSV’s lineno() counter.
# File lib/csv.rb, line 1639 def rewind @headers = nil @lineno = 0 @io.rewind end