how get all routes in my rails application?

Viewed 22240

can I get all routes in my rails application? I need an output like rake routes and put the result in an array.

Is it possible? how?

3 Answers
Related