dimka665/awesome-slugify — pull request #10 by jmcarp (2014-04-02 20:44:25+00:00)
Title: allow Slugify to take callable pretranslate

`Slugify::set_pretranslate` should accept a dictionary, a callable, or None, but as currently implemented, it only accepts a dict or None. This PR allows `set_translate` to take a callable as well. All tests passing.