End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
URI::Generic#opaque=
opaque=(v)
lib/uri/generic.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/uri/generic.rb, line 891
def opaque=(v)
check_opaque(v)
set_opaque(v)
v
end
Args
v
Description
Public setter for the opaque component v (with validation).
See also URI::Generic.check_opaque.