Enumerable Quiz
Enumerable methods can be used on which of the following objects?
Which of the following are Enumerable methods?
(1..100).select{ |n| n.odd? }
The above expression generates what?
words = ["primate", "marsupial", "rodent", "lemur"]
words.count{ |word| word.include?("i") }
The count method above returns what kind of object?
What method would you use to find the shortest word in an array of words?