Object
A report that lists a section for each source that has smells.
# File lib/reek/cli/report.rb, line 47 def initialize(examiner) @warnings = examiner.smells @smell_count = @warnings.length @desc = examiner.description end
# File lib/reek/cli/report.rb, line 53 def report @smell_count > 0 ? "#{header(@desc, @smell_count)}:\n#{format_list(@warnings)}\n" : '' end
[Validate]
Generated with the Darkfish Rdoc Generator 2.