fitz v0.1.1 Fitz
Documentation for Fitz.
Link to this section Summary
Functions
Fitz file_slug/1? Makes a slug from a filename
Hello world
Fitz is_nil? Checks if the entity is empty or nil
Fitz slugify/1? Makes a slug from a string
Fitz slugify/2? Makes a slug from a string
Link to this section Functions
Link to this function
file_slug(string)
Fitz file_slug/1? Makes a slug from a filename
Examples
iex> Fitz.file_slug("the best winter picture.png") "the-best-winter-picture-2982982922282.png"
Link to this function
filter_slash(string)
Link to this function
hello()
Hello world.
Examples
iex> Fitz.hello
:world
Link to this function
is_nil?(params)
Fitz is_nil? Checks if the entity is empty or nil
Examples
iex> Fitz.is_nil?([])
true
Link to this function
sluggify(string)
Fitz slugify/1? Makes a slug from a string
Examples
iex> Fitz.sluggify("Apples are super tasty and fun and nice to eat, don't you think so?") "apples-are-super-tasty-and-fun"
Link to this function
sluggify(string, sep)
Fitz slugify/2? Makes a slug from a string
Examples
iex> Fitz.sluggify("Apples are super tasty and fun and nice to eat, don't you think so?", ?_) "apples_are_super_tasty_and_fun"