1
2
3
4
def writefile(file, *linedata)
	linedata.each do |line| 	
		file << line.join(",") + "\n"
...

Ruby Parsing non-delimited text

by thepanu, October 06, 2008 07:48, 1 refactoring, tagged with parsing, non-delimited, regexp, csv

I have large text-reports f...

98edd841bbc19903cd758722d9745f0b Talk