method

all_week

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: 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.beginning_of_week or config.beginning_of_week when set.

Show source
Register or log in to add new notes.