Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
set_host(v)
public
Protected setter for the host component v.
See also URI::Generic.host=.
# File lib/uri/file.rb, line 56
def set_host(v)
v = "" if v.nil? || v == "localhost"
@host = v
end