There's no documentation for this item.
Source Code
# File rio/uri/file.rb, line 120 def check_path(v) # raise if both hier and opaque are not nil, because: # absoluteURI = scheme ":" ( hier_part | opaque_part ) # hier_part = ( net_path | abs_path ) [ "?" query ] #p "URI::FILE self=#{self} v=#{v}" if v && @opaque raise InvalidURIError, "path conflicts with opaque" end if @scheme if v && v != '' && FILE_ABS_PATH !~ v raise InvalidComponentError, "bad component(expected absolute path component): #{v}" end else if v && v != '' && FILE_ABS_PATH !~ v && FILE_REL_PATH !~ v raise InvalidComponentError, "bad component(expected relative path component): #{v}" end end return true end
<code/>and<pre/>for code samples.