End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
URI::Generic#set_user
set_user(v)
lib/uri/generic.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/uri/generic.rb, line 524
def set_user(v)
set_userinfo(v, @password)
v
end
Protected setter for the user component v.
See also URI::Generic.user=.