Class: Brakeman::RoutesProcessor
- Inherits:
-
Object
- Object
- Brakeman::RoutesProcessor
- Defined in:
- lib/brakeman/processors/route_processor.rb
Class Method Summary collapse
Class Method Details
.new(tracker) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/brakeman/processors/route_processor.rb', line 10 def self.new tracker if tracker.[:rails3] Brakeman::Rails3RoutesProcessor.new tracker else Brakeman::Rails2RoutesProcessor.new tracker end end |