Sha256: fe2542626a068cdbb62047808e220f6c5d697af082400a15bcfee136cd91df19
Contents?: true
Size: 419 Bytes
Versions: 33
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true require 'rubycritic/generators/text/list' module RubyCritic module Generator class ConsoleReport def initialize(analysed_modules) @analysed_modules = analysed_modules end def generate_report reports = @analysed_modules.sort.map do |mod| Text::List.new(mod).render end puts reports.join("\n") end end end end
Version data entries
33 entries across 33 versions & 2 rubygems