Sha256: 031a2a28be18e83e8e48c063ce717e717694d2f1e380cd809d31d7ab5a86ee80
Contents?: true
Size: 1.06 KB
Versions: 4
Compression:
Stored size: 1.06 KB
Contents
{ "schema_type": "object", "ree_version": "1.0.1", "name": "years_diff", "path": "packages/ree_datetime/package/ree_datetime/functions/years_diff.rb", "mount_as": "fn", "class": "ReeDatetime::YearsDiff", "factory": null, "methods": [ { "doc": "Returns time difference in years", "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
4 entries across 4 versions & 1 rubygems