capitalize() public

Converts the first character to uppercase and the remainder to lowercase.

Example:

 'über'.mb_chars.capitalize.to_s #=> "Über"
Show source
Register or log in to add new notes.