Class: Pluginscan::Check::IgnoreThing
- Inherits:
-
Struct
- Object
- Struct
- Pluginscan::Check::IgnoreThing
- Defined in:
- lib/pluginscan/reports/issues_report/issue_checks/check.rb
Instance Method Summary collapse
Instance Method Details
#ignore?(content) ⇒ Boolean
33 34 35 36 37 38 39 40 |
# File 'lib/pluginscan/reports/issues_report/issue_checks/check.rb', line 33 def ignore?(content) case ignore_thing when Regexp content.match(ignore_thing) when Proc ignore_thing.call(content) end end |