method
all_week
v4.1.8 -
Show latest stable
- Class:
DateAndTime::Calculations
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.