Skill Level: Beginner
You've already used
sort_by and similar equivalents, now let's learn more about Ruby's Enumerable methods! If you've completed the challenge correctly, when you run the script it should result in a number of true values.
- Only use Enumerable methods
- Don't duplicate methods for each function. If you use
selectonce, don't use it again for the challenge.