Sha256: 3ed34f32171403ed109237113e76c73c160afe279f452a17d0e974a9f0530877
Contents?: true
Size: 1.43 KB
Versions: 28
Compression:
Stored size: 1.43 KB
Contents
{ "schema_type": "object", "schema_version": "1.0", "name": "next_occurring", "path": "packages/ree_date/package/ree_date/functions/next_occurring.rb", "mount_as": "fn", "class": "ReeDate::NextOccurring", "factory": null, "methods": [ { "doc": "Returns a new date representing the next occurrence of the specified day of week.\n\n today # => Tue, 24 May 2022\n date (optional) # => Thu, 14 Dec 2017\n next_occurring(date, :monday) # => Mon, 18 Dec 2017\n next_occurring(date, :thursday) # => Thu, 21 Dec 2017\n next_occurring(:thursday) # => Thu, 2 Jun 2022", "throws": [ ], "return": "Date", "args": [ { "arg": "date", "type": "Nilor[Date]" }, { "arg": "week_day", "type": "Or[monday, tuesday, wednesday, thursday, friday, saturday, sunday]" } ] } ], "links": [ { "target": "advance", "package_name": "ree_date", "as": "advance", "imports": [ ] }, { "target": "days_since", "package_name": "ree_date", "as": "days_since", "imports": [ ] }, { "target": "monday", "package_name": "ree_date", "as": "monday", "imports": [ ] }, { "target": "today", "package_name": "ree_date", "as": "today", "imports": [ ] } ] }
Version data entries
28 entries across 28 versions & 1 rubygems