Sha256: f5ba1eaf0c92ffad9104da4ce67f0f17f451e3e649ba2cbbdff39bceedfceb37

Contents?: true

Size: 1 KB

Versions: 3

Compression:

Stored size: 1 KB

Contents

require 'rdf'

module RDF
  ##
  # **`RDF::TriX`** is a TriX extension for RDF.rb.
  #
  # @example Requiring the `RDF::TriX` module
  #   require 'rdf/trix'
  #
  # @example Parsing RDF statements from a TriX file
  #   RDF::TriX::Reader.open("etc/doap.xml") do |reader|
  #     reader.each_statement do |statement|
  #       puts statement.inspect
  #     end
  #   end
  #
  # @example Serializing RDF statements into a TriX file
  #   RDF::TriX::Writer.open("etc/test.xml") do |writer|
  #     reader.each_statement do |statement|
  #       writer << statement
  #     end
  #   end
  #
  # @see https://rubygems.org/gems/rdf
  # @see https://www.w3.org/2004/03/trix/
  # @see https://www.hpl.hp.com/techreports/2004/HPL-2004-56.pdf
  # @see https://swdev.nokia.com/trix/trix.html
  #
  # @author [Arto Bendiken](https://ar.to/)
  module TriX
    require 'rdf/trix/format'
    autoload :Reader,  'rdf/trix/reader'
    autoload :Writer,  'rdf/trix/writer'
    autoload :VERSION, 'rdf/trix/version'
  end # TriX
end # RDF

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rdf-trix-3.3.0 lib/rdf/trix.rb
rdf-trix-3.2.0 lib/rdf/trix.rb
rdf-trix-3.1.1 lib/rdf/trix.rb