Q. Which method is used to subtract a number of days from a Date object in Ruby?

  • (A) prev_days
  • (B) days_ago
  • (C) prev_day
  • (D) subtract_days
πŸ’¬ Discuss
βœ… Correct Answer: (C) prev_day

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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