DarkMatter.Inflections.absinthe_pascalize
You're seeing just the function
absinthe_pascalize
, go back to DarkMatter.Inflections module for more information.
Specs
Returns the pascal case version of the string
Examples
iex> absinthe_pascalize("foo_bar")
"FooBar"
iex> absinthe_pascalize("foo")
"Foo"
iex> absinthe_pascalize("__foo_bar")
"__FooBar"
iex> absinthe_pascalize("__foo")
"__Foo"
iex> absinthe_pascalize("_foo")
"_Foo"