method
end_of_week
v3.2.1 -
Show latest stable
- Class:
Date
end_of_week(start_day = :monday)public
Returns a new Date/DateTime representing the end of this week. Week is assumed to start on start_day, default is :monday. DateTime objects have their time set to 23:59:59.