Method deprecated or moved
  
    This method is deprecated or moved on the latest stable version.
    The last existing version (v2_2_9) is shown here.  
  
  
    
       
       
       
    
  
 
  merge0(oth)
  private
  
    
    
return base and rel. you can modify `base’, but can not `rel’.
   
  
    Show source    
    
      
    def merge0(oth)
      oth = parser.send(:convert_to_uri, oth)
      if self.relative? && oth.relative?
        raise BadURIError,
          "both URI are relative"
      end
      if self.absolute? && oth.absolute?
        
        
        
        return oth, oth
      end
      if self.absolute?
        return self.dup, oth
      else
        return oth, oth
      end
    end