End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
URI::FTP#to_s
to_s
lib/uri/ftp.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.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