Class: LintFu::TextReport
Instance Attribute Summary
Attributes inherited from Report
Instance Method Summary collapse
Methods inherited from Report
Constructor Details
This class inherits a constructor from LintFu::Report
Instance Method Details
#generate(output_stream) ⇒ Object
226 227 228 229 230 231 232 233 234 235 236 237 |
# File 'lib/lint_fu/report.rb', line 226 def generate(output_stream) counter = 1 @issues.each do |issue| #commit, author = scm.blame(issue.relative_file, issue.line) output_stream.puts " #{counter}) Failure:" output_stream.puts "#{issue.brief}, #{issue.relative_file}:#{issue.line}" output_stream.puts output_stream.puts counter += 1 end end |