method
beginning_of_week

Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveSupport::CoreExtensions::Time::Calculations
beginning_of_week()
public
Returns a new Time representing the "start" of this week (Monday, 0:00)