Sha256: a2c9f43f92db0d8aa4720f70bdbde47474d96745423efa05e3e5501140e6c822
Contents?: true
Size: 535 Bytes
Versions: 3
Compression:
Stored size: 535 Bytes
Contents
# frozen_string_literal: true require_relative '../report/base_report' require_relative 'code_climate_formatter' module Reek module CodeClimate # # Displays a list of smells in Code Climate engine format # (https://github.com/codeclimate/spec/blob/master/SPEC.md) # JSON with empty array for 0 smells # class CodeClimateReport < Report::BaseReport def show(out = $stdout) smells.map do |smell| out.print CodeClimateFormatter.new(smell).render end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reek-6.4.0 | lib/reek/code_climate/code_climate_report.rb |
reek-6.3.0 | lib/reek/code_climate/code_climate_report.rb |
reek-6.2.0 | lib/reek/code_climate/code_climate_report.rb |