path=(v)
Instance Public methods
Args
- v
-
String
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/" # => "/faq/" uri #=> #<URI::HTTP:0x000000008e89e8 URL:http://my.example.com/faq/>
Please login to continue.