Vidyalelo
Ruby Programming · Q3

Advanced Topics in Ruby

Programming · Ruby Programming · question 3

Q3

What is the purpose of the method_missing method in Ruby?

A.
Intercepting method calls before they are executed
B.
Defining custom method behaviors based on method names
C.
Handling undefined method calls
Answer
D.
Providing default implementations for missing methods

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board