Sha256: 5845089700f3bfa5a71c51be092f714573170fb326c4e9d5acc09832cc85c251
Contents?: true
Size: 1.15 KB
Versions: 71
Compression:
Stored size: 1.15 KB
Contents
{ "schema_type": "object", "schema_version": "1.1", "name": "beginning_of_month", "path": "packages/ree_datetime/package/ree_datetime/functions/beginning_of_month.rb", "mount_as": "fn", "class": "ReeDatetime::BeginningOfMonth", "factory": null, "methods": [ { "doc": "Returns a new date/time at the start of the month.\nIf no date_time passed returns date/time at the start of the current month.\n\n date_time(optional) => Thu, 18 Jun 2015 13:00:00\n beginning_of_month(date_time) # => Mon, 01 Jun 2015 00:00:00", "throws": [ ], "return": "DateTime", "args": [ { "arg": "date_time", "arg_type": "opt", "type": "Nilor[DateTime]" } ] } ], "links": [ { "target": "beginning_of_day", "package_name": "ree_datetime", "as": "beginning_of_day", "imports": [ ] }, { "target": "beginning_of_month", "package_name": "ree_date", "as": "beginning_of_month", "imports": [ ] }, { "target": "now", "package_name": "ree_datetime", "as": "now", "imports": [ ] } ] }
Version data entries
71 entries across 71 versions & 1 rubygems