views:

28

answers:

1

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.

+1  A: 

you can use the CSV module.

ghostdog74
I don't understand how to use that to replaces all instances of something in the file...
Shpigford