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
Show source
def path=(v)
check_path(v)
set_path(v)
v
end