Sha256: 85f955870a7ea263160dcdeb8efe3c48a5a14b5020d9719d3c83f0893c8fd78d
Contents?: true
Size: 293 Bytes
Versions: 1
Compression:
Stored size: 293 Bytes
Contents
#!/usr/bin/env ruby # propercase.rb # yesmar@speakeasy.net module ProperCase # convert string to Proper Case def propercase ary = self.split(' ') ary.each { |e| e.capitalize! } ary.join(' ') end end raise RuntimeError, 'This library is for require only' if $0 == __FILE__
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rex-0.0.4 | lib/rex/modules/propercase.rb |