# sum an an array's elements def sum_row(a) sum = 0 ...
Ruby Conditionally deleting colu...
I needed to read in a CSV f...
def writefile(file, *linedata)
linedata.each do |line|
file << line.join(",") + "\n"
...
Ruby Parsing non-delimited text
I have large text-reports f...
require 'csv' def sort_csv(filename, fields = ["ID"], reverse = false) ...
Ruby Ruby Custom Sort
I had this question recentl...
I was given a 100+ row XLSX...