Class: HTML::Proofer::Checks::Issue
- Inherits:
-
Object
- Object
- HTML::Proofer::Checks::Issue
- Defined in:
- lib/html/proofer/issue.rb
Instance Attribute Summary collapse
-
#desc ⇒ Object
readonly
Returns the value of attribute desc.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(path, desc, status = nil) ⇒ Issue
constructor
A new instance of Issue.
- #to_s ⇒ Object
Constructor Details
#initialize(path, desc, status = nil) ⇒ Issue
Returns a new instance of Issue.
10 11 12 13 14 |
# File 'lib/html/proofer/issue.rb', line 10 def initialize(path, desc, status = nil) @path = path @desc = desc @status = status end |
Instance Attribute Details
#desc ⇒ Object (readonly)
Returns the value of attribute desc.
8 9 10 |
# File 'lib/html/proofer/issue.rb', line 8 def desc @desc end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
8 9 10 |
# File 'lib/html/proofer/issue.rb', line 8 def path @path end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
8 9 10 |
# File 'lib/html/proofer/issue.rb', line 8 def status @status end |