Sha256: caa19a9bfb6366975a95822842221c26a0ac43d36ffc573493bea7d83c0d9fb3

Contents?: true

Size: 204 Bytes

Versions: 17

Compression:

Stored size: 204 Bytes

Contents

# frozen_string_literal: true

module Briard
  module Writers
    module RdfXmlWriter
      def rdf_xml
        graph.dump(:rdfxml, prefixes: { schema: 'http://schema.org/' })
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
briard-2.9.4 lib/briard/writers/rdf_xml_writer.rb
briard-2.9.3 lib/briard/writers/rdf_xml_writer.rb
briard-2.9.2 lib/briard/writers/rdf_xml_writer.rb
briard-2.9.1 lib/briard/writers/rdf_xml_writer.rb
briard-2.9.0 lib/briard/writers/rdf_xml_writer.rb
briard-2.8.2 lib/briard/writers/rdf_xml_writer.rb
briard-2.8.1 lib/briard/writers/rdf_xml_writer.rb
briard-2.8.0 lib/briard/writers/rdf_xml_writer.rb
briard-2.7.1 lib/briard/writers/rdf_xml_writer.rb
briard-2.7.0 lib/briard/writers/rdf_xml_writer.rb
briard-2.6.7 lib/briard/writers/rdf_xml_writer.rb
briard-2.6.6 lib/briard/writers/rdf_xml_writer.rb
briard-2.6.5 lib/briard/writers/rdf_xml_writer.rb
briard-2.6.4 lib/briard/writers/rdf_xml_writer.rb
briard-2.6.2 lib/briard/writers/rdf_xml_writer.rb
briard-2.6.1 lib/briard/writers/rdf_xml_writer.rb
briard-2.6.0 lib/briard/writers/rdf_xml_writer.rb