Class: Brakeman::ConfigProcessor
- Inherits:
-
Object
- Object
- Brakeman::ConfigProcessor
- Defined in:
- lib/brakeman/processors/config_processor.rb
Class Method Summary collapse
Class Method Details
.new(tracker) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/brakeman/processors/config_processor.rb', line 8 def self.new tracker if tracker.[:rails4] Brakeman::Rails4ConfigProcessor.new tracker elsif tracker.[:rails3] Brakeman::Rails3ConfigProcessor.new tracker else Brakeman::Rails2ConfigProcessor.new tracker end end |