Class: AdLint::Postfilter::MessageWiseSuppression
- Inherits:
-
MessageSuppression
- Object
- MessageSuppression
- AdLint::Postfilter::MessageWiseSuppression
- Defined in:
- lib/adlint/postfilter/suppress.rb
Direct Known Subclasses
FileWiseSuppression, LineWiseSuppression, ProjectWideSuppression
Instance Attribute Summary collapse
-
#message_id ⇒ Object
readonly
Returns the value of attribute message_id.
Instance Method Summary collapse
- #_match_with?(message_line) ⇒ Boolean
-
#initialize(message_id) ⇒ MessageWiseSuppression
constructor
A new instance of MessageWiseSuppression.
Constructor Details
#initialize(message_id) ⇒ MessageWiseSuppression
Returns a new instance of MessageWiseSuppression.
64 65 66 |
# File 'lib/adlint/postfilter/suppress.rb', line 64 def initialize() @message_id = end |
Instance Attribute Details
#message_id ⇒ Object (readonly)
Returns the value of attribute message_id.
68 69 70 |
# File 'lib/adlint/postfilter/suppress.rb', line 68 def @message_id end |
Instance Method Details
#_match_with?(message_line) ⇒ Boolean
70 71 72 |
# File 'lib/adlint/postfilter/suppress.rb', line 70 def _match_with?() . == @message_id end |