Sha256: e5a92f4dd6b1c46a307553e86b107729c9f3a26b04c252ea9e16d39e0fe48d7e
Contents?: true
Size: 1004 Bytes
Versions: 8
Compression:
Stored size: 1004 Bytes
Contents
require 'rdf' require 'ebnf' module RDF ## # **`RDF::Turtle`** is an Turtle extension for RDF.rb. # # @example Requiring the `RDF::Turtle` module # require 'rdf/turtle' # # @example Parsing RDF statements from an Turtle file # RDF::Turtle::Reader.open("etc/foaf.ttl") do |reader| # reader.each_statement do |statement| # puts statement.inspect # end # end # # @see http://rubydoc.info/github/ruby-rdf/rdf/master/frames # @see http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html # # @author [Gregg Kellogg](http://greggkellogg.net/) module Turtle require 'rdf/turtle/format' autoload :Reader, 'rdf/turtle/reader' autoload :FreebaseReader, 'rdf/turtle/freebase_reader' autoload :Terminals, 'rdf/turtle/terminals' autoload :VERSION, 'rdf/turtle/version' autoload :Writer, 'rdf/turtle/writer' def self.debug?; @debug; end def self.debug=(value); @debug = value; end end end
Version data entries
8 entries across 8 versions & 1 rubygems