Q16
What does the 'any?' method do in Ruby enumerators?
A.
Checks if the enumerator is empty
B.
Checks if no elements satisfy a given condition
C.
Checks if all elements satisfy a given condition
D.
Checks if any element satisfies a given condition
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board