lib/codeowners/git/contributor.rb in codeowners-0.0.1 vs lib/codeowners/git/contributor.rb in codeowners-0.0.2
- old
+ new
@@ -16,8 +16,12 @@
end
def to_s
"#{name} <#{email}> / +#{insertions}, -#{deletions}"
end
+
+ def to_csv
+ "#{name}, #{email}, #{insertions}, #{deletions}"
+ end
end
end
end