DarkMatter.Inflections.absinthe_pascalize

You're seeing just the function absinthe_pascalize, go back to DarkMatter.Inflections module for more information.
Link to this function

absinthe_pascalize(binary)

View Source

Specs

absinthe_pascalize(String.t()) :: String.t()

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"