Sha256: 880945adeb72d5d47bbabf702d743ed372e2bb61952342e89e5db83cc838071f

Contents?: true

Size: 1.15 KB

Versions: 71

Compression:

Stored size: 1.15 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "name": "hours_diff",
  "path": "packages/ree_datetime/package/ree_datetime/functions/hours_diff.rb",
  "mount_as": "fn",
  "class": "ReeDatetime::HoursDiff",
  "factory": null,
  "methods": [
    {
      "doc": "Returns time difference in hours",
      "throws": [
        "ArgumentError"
      ],
      "return": "Integer",
      "args": [
        {
          "arg": "start_time",
          "arg_type": "req",
          "type": "Or[Date, DateTime, Time]"
        },
        {
          "arg": "end_time",
          "arg_type": "req",
          "type": "Or[Date, DateTime, Time]"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "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

71 entries across 71 versions & 1 rubygems

Version Path
ree_lib-1.0.103 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.102 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.101 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.100 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.99 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.98 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.97 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.96 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.95 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.94 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.93 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.92 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.91 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.90 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.89 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.88 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.87 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.86 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.85 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json
ree_lib-1.0.84 lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json