The Cusp of Helix

Reference of Intact Case
[studly_caps]

(string) studly_caps (delimiter = '_')

Convert to StudlyCaps from delimiterized compound words.

Parameters:

nametypedefaultcaption
delimiterstring'_'Delimiter.

Returns:

  • (string) — StudlyCaps string.

Author:

  • StewEucen

Since:

  • Version 1.0.0

Aliases:

  • pascal_case

Examples:

"snake_case".studly_caps() #=> "SnakeCase" "get_utc__day".studly_caps() #=> "GetUTCDay" "ui__view".studly_caps() #=> "UIView" "xml__html__request".studly_caps() #=> "XML_HTMLRequest"