End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
CSV#rewind
rewind
lib/csv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/csv.rb, line 2311
def rewind
@parser = nil
@parser_enumerator = nil
@eof_error = nil
@writer.rewind if @writer
@io.rewind
end
Rewinds the underlying IO object and resets CSV’s lineno() counter.