Flowdock
capitalize() public

Returns a copy of str with the first character converted to uppercase and the remainder to lowercase.

   "hello".capitalize    #=> "Hello"
   "HELLO".capitalize    #=> "Hello"
   "123ABC".capitalize   #=> "123abc"
Show source
Register or log in to add new notes.