Q. Which method is used to add a number of months to a Date object in Ruby?

  • (A) next_month
  • (B) add_month
  • (C) months_from_now
  • (D) advance_months
πŸ’¬ Discuss
βœ… Correct Answer: (A) next_month

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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