method
end_of_week
v2.2.1 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::Date::Calculations
end_of_week()public
Returns a new Date/DateTime representing the end of this week (Sunday, DateTime objects will have time set to 23:59:59)