This is necessary to replace block variable so we can track config settings
Look for a call to
Rails::Initializer.run do |config| ... end
and replace config with RAILS_CONFIG
# File lib/brakeman/processors/lib/rails2_config_processor.rb, line 133 def process_iter exp target = exp.block_call.target method = exp.block_call.method if sexp? target and target == RAILS_INIT and method == :run env[Sexp.new(:lvar, exp.block_args.value)] = Brakeman::Rails2ConfigProcessor::RAILS_CONFIG end process_default exp end
Generated with the Darkfish Rdoc Generator 2.