I have a variant of that Ruger 22 -- great gun for practice, shooting at the range, sport target shooting. I endorse that buy.
But it will not do the job for self defense. Not recommended. Get .357 magnum revolver. A good model would be a Ruger GP100 in 4" barrel.