Nicer breakdown output

This commit is contained in:
Ted Nyman
2013-12-29 23:56:13 -08:00
parent 40c04c8f6f
commit 49f29a53c0
2 changed files with 19 additions and 5 deletions

View File

@@ -28,7 +28,11 @@ if File.directory?(path)
puts
file_breakdown = repo.breakdown_by_file
file_breakdown.each do |lang, files|
puts "#{lang}: #{files}"
puts "#{lang}:"
files.each do |file|
puts file
end
puts
end
end
elsif File.file?(path)