Sha256: 45027eba7eb128c8e49409f8792403a65b5562b1fd03f3fc2b038abc51d73130
Contents?: true
Size: 394 Bytes
Versions: 5
Compression:
Stored size: 394 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" report << entries.join("\n") end def display(stream = $stdout) stream.puts generate end end end end
Version data entries
5 entries across 5 versions & 1 rubygems