Home / Report Question

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

Correct Answer: A