This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user