Vidyalelo
Ruby Programming · Q23

Working with Dates and Times in Ruby

Programming · Ruby Programming · question 23

Q23

Which method is used to find the number of weeks between two Date objects in Ruby?

A.
difference_in_weeks
Answer
B.
weeks_between
C.
weeks_difference
D.
subtract_weeks

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board