Class: HTMLProofer::Failure
- Inherits:
-
Object
- Object
- HTMLProofer::Failure
- Defined in:
- lib/html_proofer/failure.rb
Instance Attribute Summary collapse
-
#check_name ⇒ Object
readonly
Returns the value of attribute check_name.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(path, check_name, description, line: nil, status: nil, content: nil) ⇒ Failure
constructor
A new instance of Failure.
Constructor Details
#initialize(path, check_name, description, line: nil, status: nil, content: nil) ⇒ Failure
Returns a new instance of Failure.
7 8 9 10 11 12 13 14 15 |
# File 'lib/html_proofer/failure.rb', line 7 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 |
Instance Attribute Details
#check_name ⇒ Object (readonly)
Returns the value of attribute check_name.
5 6 7 |
# File 'lib/html_proofer/failure.rb', line 5 def check_name @check_name end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
5 6 7 |
# File 'lib/html_proofer/failure.rb', line 5 def content @content end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
5 6 7 |
# File 'lib/html_proofer/failure.rb', line 5 def description @description end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
5 6 7 |
# File 'lib/html_proofer/failure.rb', line 5 def line @line end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'lib/html_proofer/failure.rb', line 5 def path @path end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
5 6 7 |
# File 'lib/html_proofer/failure.rb', line 5 def status @status end |