Sha256: cdc75a6b2bc6af596951cf24890b318a14ce75699a934214b50ceae4ad4c43d5

Contents?: true

Size: 1.02 KB

Versions: 3

Compression:

Stored size: 1.02 KB

Contents

require 'rdf' # @see http://rubygems.org/gems/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 # TriX
end # RDF

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rdf-trix-1.1.0 lib/rdf/trix.rb
rdf-trix-1.0.0 lib/rdf/trix.rb
rdf-trix-0.3.0 lib/rdf/trix.rb