class Rails::SourceAnnotationExtractor
def display(results, options = {})
Prints the mapping from filenames to annotations in +results+ ordered by filename.
def display(results, options = {}) options[:indent] = results.flat_map { |f, a| a.map(&:line) }.max.to_s.size results.keys.sort.each do |file| puts "#{file}:" results[file].each do |note| puts " * #{note.to_s(options)}" end puts end end