Sha256: c7fcd2ef29dec4e78242201bc1fa2c64dce7d0d61d8cd769be6ede30904d7f4f
Contents?: true
Size: 545 Bytes
Versions: 66
Compression:
Stored size: 545 Bytes
Contents
var mathAbs = Math.abs; export function abs () { var data = this._data; this._milliseconds = mathAbs(this._milliseconds); this._days = mathAbs(this._days); this._months = mathAbs(this._months); data.milliseconds = mathAbs(data.milliseconds); data.seconds = mathAbs(data.seconds); data.minutes = mathAbs(data.minutes); data.hours = mathAbs(data.hours); data.months = mathAbs(data.months); data.years = mathAbs(data.years); return this; }
Version data entries
66 entries across 65 versions & 13 rubygems