File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ def canonicalize!
407407 # @see <http://tools.ietf.org/html/rfc3986#section-5.2>
408408 # @see RDF::URI#/
409409 # @see RDF::URI#+
410- # @param [Array<String, RDF::URI, #to_s>] uris
410+ # @param [Array<String, RDF::URI, #to_s>] uris absolute or relative URIs.
411411 # @return [RDF::URI]
412412 # @see http://tools.ietf.org/html/rfc3986#section-5.2.2
413413 # @see http://tools.ietf.org/html/rfc3986#section-5.2.3
@@ -458,6 +458,8 @@ def join(*uris)
458458 # this method does not perform any normalization, removal of spurious
459459 # paths, or removal of parent directory references `(/../)`.
460460 #
461+ # When `fragment` is a path segment containing a colon, best practice is to prepend a `./` and use {#join}, which resolves dot-segments.
462+ #
461463 # See also `#+`, which concatenates the string forms of two URIs without
462464 # any sort of checking or processing.
463465 #
You can’t perform that action at this time.
0 commit comments