lib/snuffle/formatters/csv.rb in snuffle-0.9.1 vs lib/snuffle/formatters/csv.rb in snuffle-0.10.1
- old
+ new
@@ -8,12 +8,9 @@
def header
columns.join(',')
end
def rows
- # summary.object_candidates.map do |candidate|
- # [summary.path_to_file, summary.class_name, "##{candidate.join(" #")}"].join(',')
- # end
summary.cohorts.group_by{|c| c.values}.map do |cohort|
[summary.path_to_file, summary.class_name, cohort[0].join("; "), cohort[1].map(&:line_numbers).join("; ")].join(',')
end
end
\ No newline at end of file