check for directory? in WeirdMethodLocator#valid_file? prevents crash under jruby
check for directory? in WeirdMethodLocator#valid_file? prevents crash under jruby

jasonm23/pry,gfvcastro/pry,pvdb/pry,icebreaker/pry,jasonm23/pry,jasonm23/pry,bronzdoc/pry,85x14/pry,geoffreylitt/pry,bronzdoc/pry,nju520/pry,geoffreylitt/pry,shockone/pry,ngpestelos/pry,sferik/pry,ooohiroyukiooo/pry,caporta/pry,caporta/pry,ngpestelos/pry,ooohiroyukiooo/pry,nju520/pry,tdg5/pry,richo/pry,icebreaker/pry,tdg5/pry,nju520/pry,85x14/pry,deivid-rodriguez/pry,sferik/pry,jasnow/pry,jasnow/pry,josue804/debunker,printercu/pry,pvdb/pry,raeno/pry,scalixte-mdsol/pry,josue804/debunker,raeno/pry,raeno/pry,jasnow/pry,scalixte-mdsol/pry,caporta/pry,scalixte-mdsol/pry,gfvcastro/pry,printercu/pry,ooohiroyukiooo/pry,shockone/pry,tdg5/pry,sideci-sample/sideci-sample-pry,85x14/pry,shockone/pry