Sha256: 01e391468ebb8897d77355c56099769b977184ca39c51df98f3e0e7f42b61429
Contents?: true
Size: 344 Bytes
Versions: 69
Compression:
Stored size: 344 Bytes
Contents
define(['./random', '../number/MIN_INT', '../number/MAX_INT'], function(random, MIN_INT, MAX_INT){ /** * Returns random number inside range */ function rand(min, max){ min = min == null? MIN_INT : min; max = max == null? MAX_INT : max; return min + (max - min) * random(); } return rand; });
Version data entries
69 entries across 69 versions & 2 rubygems