Sha256: 8e5ca7a038f37af22d5d838c85dfb64ad0b5ec874bd035d1b0f3b601c26ce41b
Contents?: true
Size: 598 Bytes
Versions: 7
Compression:
Stored size: 598 Bytes
Contents
module Pelusa # Public: A Report is a wrapper that relates a class name with all its # analyses for different lint checks. # class Report # Public: Initializes a new Report. # # class_name - The Symbol name of the class being analyzed. # analyses - An Array of Analysis objects. def initialize(class_name, analyses) @class_name = class_name @analyses = analyses end def class_name @class_name end def analyses @analyses end def successful? @analyses.all? { |analysis| analysis.successful? } end end end
Version data entries
7 entries across 7 versions & 1 rubygems