Examveda

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: Option D


Join The Discussion

Related Questions on Working with Dates and Times in Ruby