Class: BBC::A11y::LintError
- Inherits:
-
Object
- Object
- BBC::A11y::LintError
- Defined in:
- lib/bbc/a11y/linter.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#section ⇒ Object
readonly
Returns the value of attribute section.
Instance Method Summary collapse
-
#initialize(section, name, message) ⇒ LintError
constructor
A new instance of LintError.
Constructor Details
#initialize(section, name, message) ⇒ LintError
Returns a new instance of LintError.
54 55 56 57 58 |
# File 'lib/bbc/a11y/linter.rb', line 54 def initialize(section, name, ) @section = section @name = name @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
60 61 62 |
# File 'lib/bbc/a11y/linter.rb', line 60 def @message end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
60 61 62 |
# File 'lib/bbc/a11y/linter.rb', line 60 def name @name end |
#section ⇒ Object (readonly)
Returns the value of attribute section.
60 61 62 |
# File 'lib/bbc/a11y/linter.rb', line 60 def section @section end |