Sha256: ae58cb65c0d4c4413d9f76f3c596ceb1ee13c7f86496620211df62ad4000e23c
Contents?: true
Size: 472 Bytes
Versions: 3
Compression:
Stored size: 472 Bytes
Contents
# encoding: utf-8 module Rubocop module Formatter # This formatter displays the report data in format that's # easy to process in the Emacs text editor. class EmacsStyleFormatter < BaseFormatter def file_finished(file, offences) offences.each do |o| output.printf("%s:%d:%d: %s: %s\n", file, o.line, o.real_column, o.encode_severity, o.message) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubocop-0.13.1 | lib/rubocop/formatter/emacs_style_formatter.rb |
rubocop-0.13.0 | lib/rubocop/formatter/emacs_style_formatter.rb |
rubocop-0.12.0 | lib/rubocop/formatter/emacs_style_formatter.rb |