Sha256: f0f4f6afc90fb2cfcab840cf60a726863096ac56adec32a634da9f0c613d8696
Contents?: true
Size: 515 Bytes
Versions: 12
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true require_relative '../base_report' require_relative 'code_climate_formatter' module Reek module Report # # 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 < BaseReport def show(out = $stdout) smells.map do |smell| out.print CodeClimateFormatter.new(smell).render end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems