instance method
URI::FTP#set_path
(::String? v) -> ::String?
set_path(v)
lib/uri/ftp.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/uri/ftp.rb, line 245
def set_path(v)
super("/" + v.sub(/^\//, "%2F"))
end
Private setter for the path of the URI::FTP.