Skip to content

Instantly share code, notes, and snippets.

View ozzyaaron's full-sized avatar

Aaron Todd ozzyaaron

View GitHub Profile
i = 0
html = ""
rows_array = rows.map {|r| PdfUtilities.separate_rows r}
# rows_array will be something like:
# [["<td>one</td>", "<td>two</td>"], ["<td>three</td>"]]
rows_array.select {|r| r[i].nil? }.each do |rr|
#rr[i] is rr now I think
end