Sha256: 37589373c74525773ab7400bbeb2cd95dd9a8ed67e9ffc41aa55a7f39225595e
Contents?: true
Size: 384 Bytes
Versions: 1
Compression:
Stored size: 384 Bytes
Contents
module RDF class URI ## # Joins several URIs together. # # @param [Array<String, URI, #to_str>] uris # @return [URI] # # GK -- don't add a "/" at the end of URIs, due to rdfcore/xmlbase/test002.rdf def join(*uris) result = @uri uris.each do |uri| result = result.join(uri) end self.class.new(result) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rdf-rdfxml-0.2.1 | lib/rdf/rdfxml/patches/uri_hacks.rb |