# File lib/mspec/runner/formatters/describe.rb, line 7 7: def finish 8: describes = Hash.new { |h,k| h[k] = Tally.new } 9: 10: @exceptions.each do |exc| 11: desc = describes[exc.describe] 12: exc.failure? ? desc.failures! : desc.errors! 13: end 14: 15: print "\n" 16: describes.each do |d, t| 17: text = d.size > 40 ? "#{d[0,37]}..." : d.ljust(40) 18: print "\n#{text} #{t.failure}, #{t.error}" 19: end 20: print "\n" unless describes.empty? 21: 22: print "\n#{@timer.format}\n\n#{@tally.format}\n" 23: end