Sha256: 00a2b98f82c00859b971a8ba98b0ada957d83dcf5eff91d4bc09600ddf786ba7
Contents?: true
Size: 447 Bytes
Versions: 10
Compression:
Stored size: 447 Bytes
Contents
# encoding: utf-8 module Rubocop module Report # Plain text report, suitable for display in Emacs *compilation* buffers. class EmacsStyle < PlainText # Generates a string representation of the report def generate report = entries.map do |e| sprintf('%s:%d: %s: %s', @filename, e.line_number, e.encode_severity, e.message) end report.join("\n") end end end end
Version data entries
10 entries across 10 versions & 1 rubygems