Sha256: 96d0a83b6875ebd0154f92e6393a66988db8e1322d1075959b6056a48e6707ac
Contents?: true
Size: 418 Bytes
Versions: 7
Compression:
Stored size: 418 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
7 entries across 7 versions & 1 rubygems