class RuboCop::Cop::Style::TrailingUnderscoreVariable
def find_first_possible_offense(variables)
def find_first_possible_offense(variables) variables.reduce(nil) do |offense, variable| break offense unless DISALLOW.include?(variable.type) var, = *variable var, = *var break offense if (allow_named_underscore_variables && var != :_) || !var.to_s.start_with?(UNDERSCORE) variable end end