floorplan v0.0.1 Floorplan.Utilities
Assorted helper functions
Summary
Functions
Generate a url-friendly string from component strings
Takes a filename and gzips it, returning the new filename
Helper for returning current time as a string
Takes a string and returns a url-safe parameterized string
Returns true unless input is whitespace-string, empty-string, or nil
Functions
Generate a url-friendly string from component strings
Examples
iex> Floorplan.Utilities.build_uri ["FOO", "bar@ 42"] “/foo/bar-42”
Takes a string and returns a url-safe parameterized string
Examples
iex> Floorplan.Utilities.parameterize(“A_bIg-@-ole’$%$Safe-string-**-“) “a_big-ole-safe-string”