Parent

Methods

Included Modules

Class/Module Index [+]

Quicksearch

Reek::Cli::VerboseReport

A report that lists every source, including those that have no smells.

Public Class Methods

new(examiner) click to toggle source
# File lib/reek/cli/report.rb, line 27
def initialize(examiner)
  @examiner = examiner
end

Public Instance Methods

report() click to toggle source
# File lib/reek/cli/report.rb, line 31
def report
  warnings = @examiner.smells
  warning_count = warnings.length
  result = header(@examiner.description, warning_count)
  result += ":\n#{format_list(warnings)}" if warning_count > 0
  result + "\n"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.