Vidyalelo
Ruby Programming · Q24

Working with Dates and Times in Ruby

Programming · Ruby Programming · question 24

Q24

What does the start_of_week method do for a Date object in Ruby?

A.
Returns the day of the week for the Date object
B.
Returns the middle day of the week for the Date object
C.
Returns the last day of the week for the Date object
D.
Returns the first day of the week for the Date object
Answer

Answer: Option D

Solution

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