πŸ“Š Ruby
Q. Which Ruby method is commonly used for dynamically defining new methods on an object?
  • (A) create_method
  • (B) new_method
  • (C) add_method
  • (D) define_method
πŸ’¬ Discuss
βœ… Correct Answer: (D) define_method

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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