Class: Brakeman::InteractiveIgnorer
- Inherits:
-
Object
- Object
- Brakeman::InteractiveIgnorer
- Defined in:
- lib/brakeman/report/ignore/interactive.rb
Instance Method Summary collapse
-
#initialize(file, warnings) ⇒ InteractiveIgnorer
constructor
A new instance of InteractiveIgnorer.
- #start ⇒ Object
Constructor Details
#initialize(file, warnings) ⇒ InteractiveIgnorer
Returns a new instance of InteractiveIgnorer.
5 6 7 8 9 10 11 12 13 |
# File 'lib/brakeman/report/ignore/interactive.rb', line 5 def initialize file, warnings @ignore_config = Brakeman::IgnoreConfig.new(file, warnings) @new_warnings = warnings @skip_ignored = false @skip_rest = false @ignore_rest = false @quit = false @restart = false end |
Instance Method Details
#start ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/brakeman/report/ignore/interactive.rb', line 15 def start @ignore_config.filter_ignored unless @quit end if @restart @restart = false start end @ignore_config end |