0

As a follow up to this question, how can I edit the contents of a CSV file?

I ultimately need to replace all instances of something and I need to do that before I open the file for parsing (with FasterCSV).

So, using Ruby I need to open, edit, and save the CSV file.

Community
  • 1
  • 1
Shpigford
  • 24,748
  • 58
  • 163
  • 252

1 Answers1

-2

you can use the CSV module.

ghostdog74
  • 327,991
  • 56
  • 259
  • 343