Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (D) Returns the first day of the week for the Date object

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
190
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate