Sha256: 6486f4753c078ee0c552f74d09328e6e8865dbae0e48e5fa9b5bcaac381e4341
Contents?: true
Size: 388 Bytes
Versions: 9
Compression:
Stored size: 388 Bytes
Contents
# frozen_string_literal: true require_relative 'base_report' module Reek module Report # # Displays a list of smells in YAML format # YAML with empty array for 0 smells # # @public # class YAMLReport < BaseReport def show(out = $stdout) out.print smells.map { |smell| warning_formatter.format_hash(smell) }.to_yaml end end end end
Version data entries
9 entries across 9 versions & 1 rubygems