Named Routes

How can I either:

  1. Construct a class that can call the named route helper methods?
  • Descending from ActionController:Base doesn’t seem to do it.

Or

  1. Convert a ::Route object into a url or parms for url_for?
  • I can get a route object matching my named path, but how can I
    translate that into a url?

Thanks