host=(v)
Instance Public methods
Args
- v
-
String
Description
public setter for the host component v
. (with validation)
see also URI::Generic.check_host
Usage
1 2 3 4 5 6 7 | require 'uri' uri.host = "foo.com" # => "foo.com" uri #=> #<URI::HTTP:0x000000008e89e8 URL:http://foo.com> |
Please login to continue.