all_week(start_day = :monday)
public
Returns a Range representing the whole week of
the current time. Week starts on
start_day (default is :monday, i.e. end of Sunday).
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 289
def all_week(start_day = :monday)
beginning_of_week(start_day)..end_of_week(start_day)
end