Sha256: 963ce9fc619827831b3f04fa3aef53a67039bda06beb3c45cf80e782627b78b2
Contents?: true
Size: 468 Bytes
Versions: 8
Compression:
Stored size: 468 Bytes
Contents
export function set (config) { var prop, i; for (i in config) { prop = config[i]; if (typeof prop === 'function') { this[i] = prop; } else { this['_' + i] = prop; } } // Lenient ordinal parsing accepts just a number in addition to // number + (possibly) stuff coming from _ordinalParseLenient. this._ordinalParseLenient = new RegExp(this._ordinalParse.source + '|' + /\d{1,2}/.source); }
Version data entries
8 entries across 8 versions & 2 rubygems