rspec/rules/S5713/highlighting.adoc

20 lines
357 B
Plaintext

=== Highlighting
If the class is a duplicate:
* Primary:
** The first time the Exception class appears in the "except" statement.
* Secondary:
** All the duplicates
message: 'Duplicate.'
If the class inherit from another class in the same "except" statement:
* Primary:
** The derived class.
* Secondary:
** The parent class.
message: 'Parent class.'