method

all_week

all_week(start_day = Date.beginning_of_week)
public

Returns a Range representing the whole week of the current date/time. Week starts on start_day, default is Date.week_start or config.week_start when set.