query=(v)
public
Args
Description
public setter for the query component v. (with
validation)
see also URI::Generic.check_query
Usage
require 'uri'
uri = URI.parse("http://my.example.com/?id=25")
uri.query = "id=1"
uri
Show source
def query=(v)
check_query(v)
set_query(v)
v
end