patriciomacadden/hobbit — pull request #13 by marcosdsanchez (2013-05-27 16:57:55+00:00)
Title: Route logic moved to a separate class + Ability to generate different route compilation strategies using settings[:route_class].

Hola Patricio,

The following is an approach to decouple the route compilation strategy from the base class.
The advantages that I see are the following:

* Less code in the base class :)
* Ability to generate different route compilation strategies to make it easier to extend hobbit ( For example using https://github.com/rkh/mustermann via a plugin in contrib) . To do that, I would like to discuss the best approach to set settings[:route_class] (or any other setting).

Let me know if you find these useful. This has a minor compatibility break change, but I think that it should be easy to adapt the code to make it backwards compatible.