Sha256: ed78ed833c3f910b8915c4e7f5371109e49e60649003f6d199579af7ab951341

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

require 'rdf'

module RDF
  ##
  # **`RDF::TriX`** is a TriX plugin 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 http://rdf.rubyforge.org/
  # @see http://www.w3.org/2004/03/trix/
  # @see http://www.hpl.hp.com/techreports/2004/HPL-2004-56.pdf
  # @see http://swdev.nokia.com/trix/trix.html
  #
  # @author [Arto Bendiken](http://ar.to/)
  module TriX
    require 'rdf/trix/format'
    autoload :Reader,  'rdf/trix/reader'
    autoload :Writer,  'rdf/trix/writer'
    autoload :VERSION, 'rdf/trix/version'
  end # module TriX
end # module RDF

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rdf-trix-0.2.0 lib/rdf/trix.rb