Class: AdLint::Postfilter::AdLintInitialHeaderSuppression
- Inherits:
-
MessageSuppression
- Object
- MessageSuppression
- AdLint::Postfilter::AdLintInitialHeaderSuppression
- Defined in:
- lib/adlint/postfilter/suppress.rb
Instance Method Summary collapse
- #_match_with?(message_line) ⇒ Boolean
-
#initialize(cinit_fpath, pinit_fpath) ⇒ AdLintInitialHeaderSuppression
constructor
A new instance of AdLintInitialHeaderSuppression.
Constructor Details
#initialize(cinit_fpath, pinit_fpath) ⇒ AdLintInitialHeaderSuppression
Returns a new instance of AdLintInitialHeaderSuppression.
43 44 45 46 |
# File 'lib/adlint/postfilter/suppress.rb', line 43 def initialize(cinit_fpath, pinit_fpath) @cinit_fpath = cinit_fpath @pinit_fpath = pinit_fpath end |
Instance Method Details
#_match_with?(message_line) ⇒ Boolean
48 49 50 |
# File 'lib/adlint/postfilter/suppress.rb', line 48 def _match_with?() .fpath == @cinit_fpath || .fpath == @pinit_fpath end |