The Cusp of Helix

Reference of Intact Case
[camelize]

(string) camelize (delimiter = '_')

Convert to camelCase from delimiterized compound words.

Parameters:

nametypedefaultcaption
delimiterstring'_'Delimiter.

Returns:

  • (string) — camelCase string.

Author:

  • StewEucen

Since:

  • Version 1.0.0

Aliases:

  • camel_case
  • nerd_caps

Examples:

"snake_case".camelize() #=> "snakeCase" "get_utc__day".camelize() #=> "getUTCDay" "ui__view".camelize() #=> "ui_View" "xml__html__request".camelize() #=> "xml_HTMLRequest"