Sha256: 920372ebd4283496145c03555cb162b1fa41d783b5c872e92ccaa23b621b4b44
Contents?: true
Size: 606 Bytes
Versions: 133
Compression:
Stored size: 606 Bytes
Contents
if (typeof String.prototype.endsWith !== 'function') { String.prototype.endsWith = function(suffix) { return this.indexOf(suffix, this.length - suffix.length) !== -1; }; }; if (typeof String.prototype.isBlank !== 'function') { String.prototype.isBlank = function() { return this.length == ''; }; }; if (typeof String.prototype.isPresent !== 'function') { String.prototype.isPresent = function() { return this.length != ''; }; }; if (typeof String.prototype.toInt !== 'function') { String.prototype.toInt = function() { return parseInt(this.replace(/,/g, '')) || 0; }; };
Version data entries
133 entries across 133 versions & 1 rubygems