Too long since I last wrote Ruby...