Module: AdLint::Postfilter::Deactivatable
- Included in:
- FileWiseSuppression, LineWiseSuppression
- Defined in:
- lib/adlint/postfilter/suppress.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
writeonly
Sets the attribute active.
Instance Method Summary collapse
Instance Attribute Details
#active=(value) ⇒ Object (writeonly)
Sets the attribute active
78 79 80 |
# File 'lib/adlint/postfilter/suppress.rb', line 78 def active=(value) @active = value end |
Instance Method Details
#active? ⇒ Boolean
80 81 82 |
# File 'lib/adlint/postfilter/suppress.rb', line 80 def active? @active end |