Flowdock
method

beginning_of_week

Importance_1
v3.2.3 - Show latest stable - 0 notes - Class: Date
beginning_of_week(start_day = :monday) public

Returns a new Date/DateTime representing the start of this week. Week is assumed to start on start_day, default is :monday. DateTime objects have their time set to 0:00.

Show source
Register or log in to add new notes.