Sha256: 8b6b71cab3b965b0f87309a11c0f340910e3ddbf0af0d7fca720c94af24f6fef
Contents?: true
Size: 898 Bytes
Versions: 4
Compression:
Stored size: 898 Bytes
Contents
require 'rdf' require 'rdf/turtle' module RDF ## # **`RDF::TriG`** is an TriG extension for RDF.rb. # # @example Requiring the `RDF::TriG` module # require 'rdf/trig' # # @example Parsing RDF statements from an TriG file # RDF::TriG::Reader.open("etc/foaf.trig") do |reader| # reader.each_statement do |statement| # puts statement.inspect # end # end # # @see http://rubydoc.info/github/ruby-rdf/rdf-turtle/ # @see http://rubydoc.info/github/ruby-rdf/rdf/master/ # @see http://www.w3.org/TR/trig/ # # @author [Gregg Kellogg](http://greggkellogg.net/) module TriG require 'rdf/trig/format' autoload :Reader, 'rdf/trig/reader' autoload :VERSION, 'rdf/trig/version' autoload :Writer, 'rdf/trig/writer' def self.debug?; @debug; end def self.debug=(value); RDF::Turtle.debug = @debug = value; end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rdf-trig-1.1.5.1 | lib/rdf/trig.rb |
rdf-trig-1.99.0.1 | lib/rdf/trig.rb |
rdf-trig-1.99.0 | lib/rdf/trig.rb |
rdf-trig-1.1.5 | lib/rdf/trig.rb |