I’m working with Marathonite and JRuby, and there is a requirement to
modify a csv file at the run time.
For example: Say the csv file looks like below:
test_name, status
test01, 0
test02, 0
test03, 0
I want read each line and update the status of each of these rows to 1,
line by line. How can this be done (using JRuby)? If it is not possible
for
csv file, are there any methods that would work for any other file
types?
Thanks