Sha256: b368c7e3eb8e5b00d84c2bc5b6f37d135d3afba09d0702a471c31ae6ef989e0b
Contents?: true
Size: 1.16 KB
Versions: 71
Compression:
Stored size: 1.16 KB
Contents
{ "schema_type": "object", "schema_version": "1.1", "name": "days_diff", "path": "packages/ree_datetime/package/ree_datetime/functions/days_diff.rb", "mount_as": "fn", "class": "ReeDatetime::DaysDiff", "factory": null, "methods": [ { "doc": "Returns time difference in days (24 hours range)", "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