Sha256: f8c88854131a227ca96dcd45104ab9765a41e98679581ee1b37dc9e06c55d533

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..')))
require 'rdf'

module RDF
  ##
  # **`RDF::N3`** is an Notation-3 plugin for RDF.rb.
  #
  # @example Requiring the `RDF::N3` module
  #   require 'rdf/n3'
  #
  # @example Parsing RDF statements from an N3 file
  #   RDF::N3::Reader.open("etc/foaf.n3") do |reader|
  #     reader.each_statement do |statement|
  #       puts statement.inspect
  #     end
  #   end
  #
  # @see http://rdf.rubyforge.org/
  # @see http://www.w3.org/TR/REC-rdf-syntax/
  #
  # @author [Gregg Kellogg](http://kellogg-assoc.com/)
  module N3
    require 'rdf/n3/format'
    require 'rdf/n3/vocab'
    require 'rdf/n3/patches/array_hacks'
    require 'rdf/n3/patches/list'
    autoload :Meta,    'rdf/n3/reader/meta'
    autoload :Parser,  'rdf/n3/reader/parser'
    autoload :Reader,  'rdf/n3/reader'
    autoload :VERSION, 'rdf/n3/version'
    autoload :Writer,  'rdf/n3/writer'
    
    def self.debug?; @debug; end
    def self.debug=(value); @debug = value; end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rdf-n3-0.3.6 lib/rdf/n3.rb
rdf-n3-0.3.5 lib/rdf/n3.rb