instance method
URI::FTP#to_s
() -> ::String
to_s
lib/uri/ftp.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/uri/ftp.rb, line 251
def to_s
save_path = nil
if @typecode
save_path = @path
@path = @path + TYPECODE_PREFIX + @typecode
end
str = super
if @typecode
@path = save_path
end
return str
end