String.prototype.camelize >= 0.1.0
Purpose
Lower case underscored words will be returned in camel case. Additionally '/' is translated to '::'
Syntax
String#camelize
(
Booleanlow_first_letter= false
);
Parameters
low_first_letter
- The first char is lowercased if true
Return values
String
Examples
'this_is_a_test'.camelize();>>> "ThisIsATest"
'this_is_a_test'.camelize(true);>>> "thisIsATest"
Comments