Sha256: 0dade9c0fb2fc16b6f01d3ccabc7d9c378f29a8ef085473004d1944c288f8d58
Contents?: true
Size: 483 Bytes
Versions: 9
Compression:
Stored size: 483 Bytes
Contents
# frozen_string_literal: true require_relative '../base_report' 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 warning_formatter.format_code_climate_hash(smell) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems