Sha256: 4a9700d7e76188fbc2a0f5ad37fabc3d143b77ed23416397cb51751df2a12053

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

module Attractor
  # console reporter
  class ConsoleReporter < BaseReporter
    def report
      super
      puts 'Calculated churn and complexity'
      puts
      puts "file_path#{' ' * 53}complexity   churn"
      puts '-' * 80

      puts @values.map(&:to_s)

      puts
      puts 'Suggestions for refactorings:'
      @suggestions.each { |sug| puts sug.file_path }
      puts
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
attractor-0.4.3 lib/attractor/reporters/console_reporter.rb