class Rubocop::Report::Report
def <<(cop)
-
a
(Cop
) -- cop with something to report
def <<(cop) cop.offences.each do |entry| @entries << entry end end
def empty?
def empty? entries.empty? end
def initialize(filename)
-
the
(String
) -- filename for this report
def initialize(filename) @filename = filename @entries = [] end