DarkMatter.Inflections.humanize

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

Specs

humanize(String.t()) :: String.t()

Returns the humanized case version of the string

Examples

iex> humanize("foo_bar")
"Foo bar"

iex> humanize("foo")
"Foo"

iex> humanize("__foo_bar")
"  foo bar"

iex> humanize("__foo")
"  foo"

iex> humanize("_foo")
" foo"