Sha256: e0478a80600007b752365202b17985150e56ba6004a783aab1948b9550d1ec9b
Contents?: true
Size: 452 Bytes
Versions: 10
Compression:
Stored size: 452 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| '%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