Q48
What is a "predicate method" in Ruby?
A.
A method that returns the result of a comparison between two objects
B.
A method that takes a block as an argument
C.
A method that raises an exception when called with invalid arguments
D.
A method that returns a boolean value indicating a condition
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board