Q21
What does the respond_to_missing? method do in Ruby?
A.
Determines if an object has a certain method defined
B.
Overrides the default behavior of method_missing for a specific object
C.
Allows objects to handle method calls for undefined methods
AnswerD.
Raises an error if an object is called with a missing method
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board