lib/brakeman/processors/alias_processor.rb
#Finds the inner most call target which is not the target of a call to <<
Finds the inner most call target which is not the target of a call to <<
Finds the inner most call target which is not the target of a call to <<
def find_push_target exp
    if call? exp and exp.method == :<<
      find_push_target exp.target
    else
      exp
    end
  end
def find_push_target exp if call? exp and exp . method == :<< find_push_target exp . target else exp end end
Finds the inner most call target which is not the target of a call to <<
Finds the inner most call target which is not the target of a call to <<
exp