scheme=(v)
public
Args
Description
public setter for the scheme component v. (with
validation)
see also URI::Generic.check_scheme
Usage
require 'uri'
uri = URI.parse("http://my.example.com")
uri.scheme = "https"
uri
Show source
def scheme=(v)
check_scheme(v)
set_scheme(v)
v
end