some ruby fix

return the true or false clearly