method

capitalize

capitalize()
public

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

Example:

 'über'.mb_chars.capitalize.to_s #=> "Über"