A

Admin • 802.91K Points
Coach

Q. How do you find the number of months between two Date objects in Ruby?

  • (A) Use the delta method with the months option
  • (B) Use the difference method with the months option
  • (C) Subtract one Date object from another and calculate the difference in months
  • (D) Use the months_between method
  • Correct Answer - Option(C)
  • Views: 4
  • Filed under category Ruby
  • Hashtags:

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.

Be the first to start discuss.