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
# File lib/uri/generic.rb, line 806
def path=(v)
check_path(v)
set_path(v)
v
end