Sha256: adf8bb447253728d4a977214389bc2c48b8657a3215ce8ee06b5c949a68eaf89
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
module SimpleCovLinterFormatter class ResultFormatter def initialize(result) @result = result end def format formatted_result = [] @result.files.each do |source_file| messages = format_source_file(source_file) formatted_result += messages if messages end formatted_result end private def format_source_file(source_file) source_file_formatter = SourceFileFormatter.new(source_file) source_file_formatter.format end end end
Version data entries
2 entries across 2 versions & 1 rubygems