Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
URI::Generic#set_password
(::String? v) -> ::String?
set_password(v)
lib/uri/generic.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/uri/generic.rb, line 534
def set_password(v)
@password = v
# returns v
end
Protected setter for the password component v.
See also URI::Generic.password=.