Module: AdLint::Postfilter::Deactivatable

Included in:
FileWiseSuppression, LineWiseSuppression
Defined in:
lib/adlint/postfilter/suppress.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#active=(value) ⇒ Object (writeonly)

Sets the attribute active

Parameters:

  • value

    the value to set the attribute active to.



78
79
80
# File 'lib/adlint/postfilter/suppress.rb', line 78

def active=(value)
  @active = value
end

Instance Method Details

#active?Boolean

Returns:

  • (Boolean)


80
81
82
# File 'lib/adlint/postfilter/suppress.rb', line 80

def active?
  @active
end