M

Mr. Dubey • 95.67K Points
Coach

Q. 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
  • (D) Raises an error if an object is called with a missing method
  • Correct Answer - Option(C)
  • Views: 72
  • Filed under category Ruby

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics