Sha256: da7b5086b3e0ead4f512b85583c588fc15650328f1bc39ad3f9ce3d5f65f345a

Contents?: true

Size: 316 Bytes

Versions: 5

Compression:

Stored size: 316 Bytes

Contents

# encoding: utf-8
require 'colored'

class HTML::Proofer::Checks

  class Issue

    attr_reader :path, :desc, :status

    def initialize(path, desc, status = nil)
      @path = path
      @desc = desc
      @status = status
    end

    def to_s
      "#{HTML::colorize(:blue, @path)}: #{desc}"
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
html-proofer-1.4.0 lib/html/proofer/issue.rb
html-proofer-1.3.3 lib/html/proofer/issue.rb
html-proofer-1.3.2 lib/html/proofer/issue.rb
html-proofer-1.3.1 lib/html/proofer/issue.rb
html-proofer-1.3.0 lib/html/proofer/issue.rb