Sha256: 002510bd178f03d940334ebeea96a802259fbba9a6da6c98cf483d585c902cca

Contents?: true

Size: 588 Bytes

Versions: 1

Compression:

Stored size: 588 Bytes

Contents

require "rubycritic/generators/html_report"
require "rubycritic/generators/html/current_code_file"

module RubyCritic
  module Generator

    class HtmlGuardReport < HtmlReport
      def generate_report
        create_directories_and_files
        copy_assets_to_report_directory
        report_location
      end

      private

      def generators
        file_generator
      end

      def file_generator
        @file_generator ||= Html::CurrentCodeFile.new(@analysed_modules.first)
      end

      def report_location
        file_generator.file_href
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
guard-rubycritic-2.9.3 lib/rubycritic/generators/html_guard_report.rb