Q. 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
  • (D) Providing default implementations for missing methods
πŸ’¬ Discuss
βœ… Correct Answer: (C) Handling undefined method calls

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
130
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate