Reduce complexity in WordArray
Reduce complexity in WordArray

Split `on_array` and `style_detected` into smaller methods.

dreyks/rubocop,bankair/rubocop,panthomakos/rubocop,vergenzt/rubocop,tdeo/rubocop,deivid-rodriguez/rubocop,bquorning/rubocop,sue445/rubocop,tejasbubane/rubocop,rtlechow/rubocop,savef/rubocop,sinsoku/rubocop,jfelchner/rubocop,legendetm/rubocop,melch/rubocop,maxjacobson/rubocop,b-t-g/rubocop,ilansh/rubocop,haziqhafizuddin/rubocop,rrosenblum/rubocop,dreyks/rubocop,ilansh/rubocop,Drenmi/rubocop,meganemura/rubocop,tdeo/rubocop,meganemura/rubocop,deivid-rodriguez/rubocop,hanumakanthvvn/rubocop,vergenzt/rubocop,jmks/rubocop,rrosenblum/rubocop,backus/rubocop,tejasbubane/rubocop,akihiro17/rubocop,jmks/rubocop,lumeet/rubocop,Drenmi/rubocop,hanumakanthvvn/rubocop,alexcstark/rubocop,maxjacobson/rubocop,palkan/rubocop,petehamilton/rubocop,lucasuyezu/rubocop,pocke/rubocop,legendetm/rubocop,mikegee/rubocop,palkan/rubocop,lucasuyezu/rubocop,iGEL/rubocop,tdeo/rubocop,panthomakos/rubocop,sue445/rubocop,bankair/rubocop,sinsoku/rubocop,savef/rubocop,NobodysNightmare/rubocop,pocke/rubocop,urbanautomaton/rubocop,smakagon/rubocop,akihiro17/rubocop,jfelchner/rubocop,backus/rubocop,bquorning/rubocop,lumeet/rubocop,vergenzt/rubocop,palkan/rubocop,rrosenblum/rubocop,rtlechow/rubocop,mikegee/rubocop,meganemura/rubocop,iGEL/rubocop,panthomakos/rubocop,alexdowad/rubocop,petehamilton/rubocop,alexdowad/rubocop,jmks/rubocop,maxjacobson/rubocop,akihiro17/rubocop,mclark/rubocop,jfelchner/rubocop,mclark/rubocop,scottmatthewman/rubocop,NobodysNightmare/rubocop,haziqhafizuddin/rubocop,bquorning/rubocop,urbanautomaton/rubocop,b-t-g/rubocop,melch/rubocop,tejasbubane/rubocop,petehamilton/rubocop,bbatsov/rubocop,alexcstark/rubocop,deivid-rodriguez/rubocop,smakagon/rubocop,sue445/rubocop,bbatsov/rubocop,scottmatthewman/rubocop,mikegee/rubocop