lib/rdf/rdfxml/writer.rb
# XML namespace attributes for defined prefixes
# @return [Hash{String => String}]
XML namespace attributes for defined prefixes
XML namespace attributes for defined prefixes
def prefix_attrs
      prefixes.inject({}) do |memo, (k, v)|
        memo[k ? "xmlns:#{k}" : "xmlns"] = v.to_s
        memo
      end
    end
def prefix_attrs prefixes . inject ( { } ) do | memo , ( k , v ) | memo [ k ? "xmlns:#{k}" : "xmlns" ] = v . to_s memo end end
XML namespace attributes for defined prefixes
XML namespace attributes for defined prefixes
None
Hash{String => String}