Sha256: 2f15e53efe9fe9fc692e1c76a99ce3b1b1b7174241db87cea9adc44773b9d468

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 Bytes

Contents

# encoding: utf-8

module Rubocop
  module Formatter
    # This formatter displays just a list of the files with offences in them,
    # separated by newlines.
    #
    # Here's the format:
    #
    # /some/file
    # /some/other/file
    class FileListFormatter < SimpleTextFormatter
      def report_file(file, offences)
        output.printf("%s\n", file)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubocop-0.11.1 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.11.0 lib/rubocop/formatter/file_list_formatter.rb
rubocop-0.10.0 lib/rubocop/formatter/file_list_formatter.rb