class RuboCop::Cop::Naming::InclusiveLanguage
def process_allowed_regex(allowed)
def process_allowed_regex(allowed) return EMPTY_ARRAY if allowed.nil? Array(allowed).map do |allowed_term| next if allowed_term.is_a?(String) && allowed_term.strip.empty? ensure_regex_string(allowed_term) end end