def paramaterize params
     segments = @url.split('/')
     segments.map { |item| item[0] == ':' ? params.shift : item }.join('/')
    end
def paramaterize params
     segments = @url.split('/')
     segments.map { |item| item[0] == ':' ? params.shift : item }.join('/')
    end
@param [String] pattern of url to match against
 @param [Symbol] context_ref to context route is mounted to
 @param [{Symbol => String,Number,Boolean}] flags attached to route
take in params and return a paramaterized route

 @param [Array<String,Number,Boolean>] params a list of params to replace named params in a route
 @return [String] url containing named params replaced