path=(v)
public
Args
Description
Public setter for the path component v (with
validation).
See also URI::Generic.check_path.
Usage
require 'uri'
uri = URI.parse("http://my.example.com/pub/files")
uri.path = "/faq/"
uri.to_s
Show source
def path=(v)
check_path(v)
set_path(v)
v
end