Skip to content

API Change: `ToCamelCase` preserves source string case

Latest
Compare
Choose a tag to compare
@huandu huandu released this 01 Dec 16:12
6ae33fe

As ToCamelCase is a port of RoR's String#camelize, this change makes the return value of this method consistent with its origin. Thanks @dbainbri-ciena for raising this issue in #54.

This is a breaking API change. The return value of ToCamelCase("toCamelCase") was Tocamelcase and then it's ToCamelCase now. If this change breaks your code, please let me know and open new issue against this change. Thanks.