Class: Reek::Report::TextReport

Inherits:
Base
  • Object
show all
Defined in:
lib/reek/report/report.rb

Overview

Generates a sorted, text summary of smells in examiners

Constant Summary

Constants inherited from Base

Base::NO_WARNINGS_COLOR, Base::WARNINGS_COLOR

Instance Method Summary collapse

Methods inherited from Base

#add_examiner, #initialize, #smells, #smells?

Constructor Details

This class inherits a constructor from Reek::Report::Base

Instance Method Details

#showObject



57
58
59
60
61
# File 'lib/reek/report/report.rb', line 57

def show
  sort_examiners if smells?
  display_summary
  display_total_smell_count
end