Class: Brakeman::ConfigProcessor

Inherits:
Object
  • Object
show all
Defined in:
lib/brakeman/processors/config_processor.rb

Class Method Summary collapse

Class Method Details

.new(tracker) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/brakeman/processors/config_processor.rb', line 7

def self.new tracker
  if tracker.options[:rails3]
    Brakeman::Rails3ConfigProcessor.new tracker
  else
    Brakeman::Rails2ConfigProcessor.new tracker
  end
end