codeplant/simple-navigation — pull request #144 by simonc (2014-02-25 13:37:46+00:00)
Title: A more powerful name_generator

I'm trying to use Font-Awesome in my menu and I'm using `name_generator` to do so but I think using the name of the menu entry doesn't really make sense since it can change depending of the language.

I'd like to submit a PR to provide access to `self` in this block. There are two ways to do so, one which is not retro-compatible, passing `self` instead of just `@name`. The second is more conservative, it's just passing `self` as second argument.

What do you think?