method
to_s
v1_9_1_378 -
Show latest stable
- Class:
URI::FTP
to_s()public
No documentation available.
# File lib/uri/ftp.rb, line 183
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