Flowdock
titleize() public

Capitalizes the first letter of every word, when possible.

Example:

  "ÉL QUE SE ENTERÓ".mb_chars.titleize    # => "Él Que Se Enteró"
  "日本語".mb_chars.titleize                 # => "日本語"
Show source
Register or log in to add new notes.