By default, this method converts strings to UpperCamelCase. If the
uppercaseFirstLetter
argument to
false, then this method produces lowerCamelCase. This method will also use any extra delimiter characters to
identify word boundaries.
Examples:
inflector.camelCase("active_record",false) #=> "activeRecord"
inflector.camelCase("active_record",true) #=> "ActiveRecord"
inflector.camelCase("first_name",false) #=> "firstName"
inflector.camelCase("first_name",true) #=> "FirstName"
inflector.camelCase("name",false) #=> "name"
inflector.camelCase("name",true) #=> "Name"