A 12 gauge shotgun indoors would be a brutal weapon. No doubt about that. It can be brutal at both ends tho. Several quick shots from a .22 would also be effective and easy to manage.
The Marlin is just as good a gun but accessories are what make the Ruger the choice. I grew up on a farm and came to respect the lowly .22.