lib/brakeman/processors/alias_processor.rb
def array_include_all_literals? exp
    call? exp and
    exp.method == :include? and
    (all_literals? exp.target or dir_glob? exp.target)
  end
# Check if exp is a call to Array#include? on an array literal
# that contains all literal values. For example:
#
#    [1, 2, "a"].include? x
#
Check if exp is a call to Array#include. on an array literal
that contains all literal values. For example.


Check if exp is a call to Array#include . on an array literal that contains all literal values . For example .
def array_include_all_literals? exp
    call? exp and
    exp.method == :include? and
    (all_literals? exp.target or dir_glob? exp.target)
  end
def array_include_all_literals? exp call? exp and exp . method == :include? and ( all_literals? exp . target or dir_glob? exp . target ) end
Check if exp is a call to Array#include?
Check if exp is a call to Array#include?
exp