Ruby: Anagram detector class - way cleaner than my old one