Sha256: c0bce6987a74b729d80a1645f78fa3b0dcbe53fee42fa80a2b441d327be9325e

Contents?: true

Size: 337 Bytes

Versions: 9

Compression:

Stored size: 337 Bytes

Contents

module Pelusa
  class Reporter
    def self.print_banner
    end

    def initialize(filename)
      @filename = filename
    end

    def reports=(reports)
      @reports = reports
    end

    def report
      raise NotImplementedError
    end

    def successful?
      @reports.all? { |report| report.successful? }
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pelusa-0.2.4 lib/pelusa/reporters/reporter.rb
pelusa-0.2.3 lib/pelusa/reporters/reporter.rb
pelusa-0.2.2 lib/pelusa/reporters/reporter.rb
pelusa-0.2.1 lib/pelusa/reporters/reporter.rb
pelusa-0.2.0 lib/pelusa/reporters/reporter.rb
pelusa-0.1.1 lib/pelusa/reporters/reporter.rb
pelusa-0.1.0 lib/pelusa/reporters/reporter.rb
pelusa-0.0.2 lib/pelusa/reporters/reporter.rb
pelusa-0.0.1 lib/pelusa/reporters/reporter.rb