Sha256: 5f15a5065786b5c582023b7be61cda8e8d30d2407704d8a267ee7dfd80d53f7a
Contents?: true
Size: 1.12 KB
Versions: 28
Compression:
Stored size: 1.12 KB
Contents
{ "schema_type": "object", "schema_version": "1.0", "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", "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
28 entries across 28 versions & 1 rubygems