View Source Recase.PascalCase (recase v0.8.1)
Module to convert strings to PascalCase
aka UpperCase
.
This module should not be used directly.
Examples
iex> Recase.to_pascal "foo_barBaz-λambdaΛambda-привет-Мир"
"FooBarBazΛambdaΛambdaПриветМир"
Read about PascalCase
here:
https://en.wikipedia.org/wiki/PascalCase
Changed
This name was introduced in version 0.2.0
,
it was named UpperCase
before.
But UpperCase
was not clear enough. What is uppercase
?
- THIS IS UPPERCASE
- ThisIsAlsoUpperCase
So, it was decided to rename this module into PascalCase
.
For other details see: https://github.com/wemake-services/recase/issues/2