title: how get all routes in my rails application?
body: <p>can I get all routes in my rails application? I need an output like <code>rake routes</code> and put the result in an array.</p>
  
  <p>Is it possible? how?</p>