Class: DontRepeatYourself::RailsProjectReporter

Inherits:
RubyProjectReporter show all
Defined in:
lib/dont_repeat_yourself/reporter.rb

Instance Attribute Summary

Attributes inherited from ProjectReporterBase

#maximum_number_of_duplicate_lines_i_want_in_my_project, #name, #report_type

Instance Method Summary collapse

Methods inherited from RubyProjectReporter

#initialize

Methods inherited from ProjectReporterBase

#basedir, build_reporter, #description, #failure_message, #ignoring_the_directory, #ignoring_the_file, #initialize, #is_dry?, #patterns_of_directories_to_search_for_duplicate_lines, #report, #with_threshold_of_duplicate_lines

Constructor Details

This class inherits a constructor from DontRepeatYourself::RubyProjectReporter

Instance Method Details

#configure_simianObject



125
126
127
128
129
# File 'lib/dont_repeat_yourself/reporter.rb', line 125

def configure_simian
  @simian_runner.add_ruby_directory_to_search_for_duplicate_lines("app")
  @simian_runner.add_ruby_directory_to_search_for_duplicate_lines("lib")
  @simian_runner.add_html_directory_to_search_for_duplicate_lines("app/views")
end