Sha256: 7e4b3f0bb098178c74b74e413ea807bc2dce047228238431dbc17214f02478e1

Contents?: true

Size: 1.07 KB

Versions: 28

Compression:

Stored size: 1.07 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.0",
  "name": "minutes_diff",
  "path": "packages/ree_datetime/package/ree_datetime/functions/minutes_diff.rb",
  "mount_as": "fn",
  "class": "ReeDatetime::MinutesDiff",
  "factory": null,
  "methods": [
    {
      "doc": "Returns time difference in minutes",
      "throws": [
        "ArgumentError"
      ],
      "return": "Integer",
      "args": [
        {
          "arg": "start_time",
          "type": "Or[Date, DateTime, Time]"
        },
        {
          "arg": "end_time",
          "type": "Or[Date, DateTime, Time]"
        },
        {
          "arg": "opts",
          "type": "Ksplat[:round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "round_helper",
      "package_name": "ree_number",
      "as": "round_helper",
      "imports": [
        "ROUND_MODES"
      ]
    },
    {
      "target": "slice",
      "package_name": "ree_hash",
      "as": "slice",
      "imports": [

      ]
    }
  ]
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ree_lib-1.0.32 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.31 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.30 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.29 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.28 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.27 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.26 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.24 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.23 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.22 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.21 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.20 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.19 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.18 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.17 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.16 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.15 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.14 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.13 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json
ree_lib-1.0.12 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json