18 lines
399 B
Ruby
18 lines
399 B
Ruby
# frozen_string_literal: true
|
|
|
|
module HTMLProofer
|
|
class Failure
|
|
attr_reader :path, :check_name, :description, :status, :line, :content
|
|
|
|
def initialize(path, check_name, description, line: nil, status: nil, content: nil)
|
|
@path = path
|
|
@check_name = check_name
|
|
@description = description
|
|
|
|
@line = line
|
|
@status = status
|
|
@content = content
|
|
end
|
|
end
|
|
end
|