method

beginning_of_week

v3.2.13 - Show latest stable - Class: Date
beginning_of_week(start_day = :monday)
public

Returns a new Date/DateTime representing the start of this week. Week is assumed to start on start_day, default is :monday. DateTime objects have their time set to 0:00.