class RubyCritic::Generator::HtmlGuardReport

Public Instance Methods

generate_report() click to toggle source
# File lib/rubycritic/generators/html_guard_report.rb, line 8
def generate_report
  create_directories_and_files
  copy_assets_to_report_directory
  report_location
end

Private Instance Methods

file_generator() click to toggle source
# File lib/rubycritic/generators/html_guard_report.rb, line 20
def file_generator
  @file_generator ||= Html::CurrentCodeFile.new(@analysed_modules.first)
end
generators() click to toggle source
# File lib/rubycritic/generators/html_guard_report.rb, line 16
def generators
  file_generator
end
report_location() click to toggle source
# File lib/rubycritic/generators/html_guard_report.rb, line 24
def report_location
  file_generator.file_href
end