beginning_of_week

beginning_of_week()
Class Public methods

Returns the week start (e.g. :monday) for the current request, if this has been set (via ::beginning_of_week=). If Date.beginning_of_week has not been set for the current request, returns the week start specified in config.beginning_of_week. If no config.beginning_of_week was specified, returns :monday.

doc_ruby_on_rails
2015-06-20 00:00:00
Comments
Leave a Comment

Please login to continue.