Method: URI::FTP#merge

Defined in:
lib/extensions/uri/uri/ftp.rb

#merge(oth) ⇒ Object

:nodoc:



159
160
161
162
163
164
165
166
# File 'lib/extensions/uri/uri/ftp.rb', line 159

def merge(oth) # :nodoc:
  tmp = super(oth)
  if self != tmp
    tmp.set_typecode(oth.typecode)
  end

  return tmp
end