Sha256: 0a689b2fb97a1f5233741d01512de31bf6da1c53da1faa63253f023315f97578
Contents?: true
Size: 937 Bytes
Versions: 1
Compression:
Stored size: 937 Bytes
Contents
require 'rdf' module RDF ## # **`RDF::Turtle`** is an Turtle plugin 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://rdf.rubyforge.org/ # @see http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html # # @author [Gregg Kellogg](http://kellogg-assoc.com/) module Turtle require 'rdf/turtle/format' autoload :Reader, 'rdf/turtle/reader' autoload :Terminals, 'rdf/turtle/terminals' autoload :VERSION, 'rdf/turtle/version' autoload :Writer, 'rdf/turtle/writer' KEYWORDS = %w(@base @prefix).map(&:to_sym) def self.debug?; @debug; end def self.debug=(value); @debug = value; end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rdf-turtle-0.1.1 | lib/rdf/turtle.rb |