Sha256: 4fe215844890455a518334e275251b619980f7dceef1d7c0b445d6bf69e14a3b

Contents?: true

Size: 799 Bytes

Versions: 4

Compression:

Stored size: 799 Bytes

Contents

{
  "schema_type": "object",
  "ree_version": "1.0.1",
  "name": "days_to_week_start",
  "path": "packages/ree_date/package/ree_date/functions/days_to_week_start.rb",
  "mount_as": "fn",
  "class": "ReeDate::DaysToWeekStart",
  "factory": null,
  "methods": [
    {
      "doc": "Returns the number of days to the start of the week on the given day.\nWeek is assumed to start on +start_week_day+.",
      "throws": [

      ],
      "return": "Integer",
      "args": [
        {
          "arg": "date",
          "type": "Nilor[Date]"
        },
        {
          "arg": "start_week_day",
          "type": "Or[sunday, monday]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "today",
      "package_name": "ree_date",
      "as": "today",
      "imports": [

      ]
    }
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

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