Sha256: 862f70a909199f6b316ef8a6148d48c4d0dc4386a2aa7612ffc2efca0ae97573
Contents?: true
Size: 185 Bytes
Versions: 1
Compression:
Stored size: 185 Bytes
Contents
class String def demodulize if i = self.rindex('::') self[(i+2)..-1] else self end end def titleize "#{self.to_s[0].upcase}#{self[1..-1]}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
web_client-0.0.4 | lib/web_client/extensions/string.rb |