Sha256: 04d38b317c5246a2d406715c5dd215ec7bf63776392a029bcf6d3477cea9b13a
Contents?: true
Size: 352 Bytes
Versions: 34
Compression:
Stored size: 352 Bytes
Contents
Object.extend(String.prototype, { upcase: function() { return this.toUpperCase(); }, downcase: function() { return this.toLowerCase(); }, toInteger: function() { return parseInt(this); }, toSlug: function() { return this.strip().downcase().replace(/[^-a-z0-9~\s\.:;+=_]/g, '').replace(/[\s\.:;=+]+/g, '-'); } });
Version data entries
34 entries across 34 versions & 3 rubygems