Sha256: f8b24c857d9f0c4028f73b88c569dfe8dfb7037896d149e10869cc72a962ed1c
Contents?: true
Size: 401 Bytes
Versions: 10
Compression:
Stored size: 401 Bytes
Contents
# encoding: utf-8 module Rubocop module Report # Plain text report, suitable for display in terminals. class PlainText < Report # Generates a string representation of the report def generate report = "== #{filename} ==\n".yellow report << entries.join("\n") end def display(stream = $stdout) stream.puts generate end end end end
Version data entries
10 entries across 10 versions & 1 rubygems