def get params=nil
     path = if params
       paramaterize params.dup
     else
       @url
     end
     {
         path: path,
         title: self.flags.fetch(:title){nil},
         params: params_hash(params),
         route: self
     }
    end
def get params=nil
     path = if params
       paramaterize params.dup
     else
       @url
     end
     {
         path: path,
         title: self.flags.fetch(:title){nil},
         params: params_hash(params),
         route: self
     }
    end
get route hash and paramaterize url if needed

 @param [Array<String,Number,Boolean>] params to replace named params in the returned url
 @return [Symbol => Number,String,Route] hash specificly formatted:
  {
    url: of the route with named params replaced,
    title: the name of page if the url has one,
    params: a list of all the params used in the route,
    route: the #Route object
  }