View Source erf_util (erf v0.1.2)

Summary

Functions

Naive function to convert a binary or string to PascalCase.
Naive function to convert a binary or string to snake_case.

Functions

Link to this function

to_pascal_case(BinOrStr)

View Source
-spec to_pascal_case(BinOrStr) -> PascalCase
                        when BinOrStr :: binary() | string(), PascalCase :: binary().
Naive function to convert a binary or string to PascalCase.
-spec to_snake_case(BinOrStr) -> SnakeCase when BinOrStr :: binary() | string(), SnakeCase :: binary().
Naive function to convert a binary or string to snake_case.