Sha256: 78d50c3480328e0c9eb0bc4b2e2d7a825a8bdfd9d909d89cb7a3ddae67170fa0

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

{
  "schema_type": "object",
  "ree_version": "1.0.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",
          "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

4 entries across 4 versions & 1 rubygems

Version Path
ree_lib-1.0.3 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_month.schema.json
ree_lib-1.0.2 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_month.schema.json
ree_lib-1.0.1 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_month.schema.json
ree_lib-1.0.0 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_month.schema.json