Sha256: 90199081e7ee8168e268ae3a6bfcb2cf9bfffbb9c2793fb142f14173e7ddd9e7
Contents?: true
Size: 389 Bytes
Versions: 8
Compression:
Stored size: 389 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
8 entries across 8 versions & 1 rubygems