Sha256: 4013aa1004c8ed5046faa1be25ffc5e69690202350b4dbd5d8874bb7ea23328e

Contents?: true

Size: 291 Bytes

Versions: 9

Compression:

Stored size: 291 Bytes

Contents

module AChecker

  class CheckResult

    attr_reader :url, :achecker_url, :num_errors

    def initialize(url, achecker_url, num_errors)
      @url = url
      @achecker_url = achecker_url
      @num_errors = num_errors
    end

    def has_errors
      @num_errors > 0
    end

  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
achecker-0.0.9 lib/achecker/check_result.rb
achecker-0.0.8 lib/achecker/check_result.rb
achecker-0.0.7 lib/achecker/check_result.rb
achecker-0.0.6 lib/achecker/check_result.rb
achecker-0.0.5 lib/achecker/check_result.rb
achecker-0.0.4 lib/achecker/check_result.rb
achecker-0.0.3 lib/achecker/check_result.rb
achecker-0.0.2 lib/achecker/check_result.rb
achecker-0.0.1 lib/achecker/check_result.rb