scheme=(v)
Instance Public methods
Args
- v
-
String
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" # => "https" uri #=> #<URI::HTTP:0x000000008e89e8 URL:https://my.example.com>
Please login to continue.