Sha256: cb5eb8c74564bbe0a9b5e8a5e80e0388082f940cbdc499f2fb4bff38ba864c36
Contents?: true
Size: 234 Bytes
Versions: 82
Compression:
Stored size: 234 Bytes
Contents
module.exports = function (regExp, replace) { var replacer = replace === Object(replace) ? function (part) { return replace[part]; } : replace; return function (it) { return String(it).replace(regExp, replacer); }; };
Version data entries
82 entries across 38 versions & 8 rubygems