Sha256: af295a04d746e23c80e0065c292aa1024aa2f39ce50ffede2acfccbea6c6b1e6

Contents?: true

Size: 630 Bytes

Versions: 1

Compression:

Stored size: 630 Bytes

Contents

module RDF::NTriples
  ##
  # N-Triples format specification.
  #
  # @example Obtaining an RDF/NTriples format class
  #   RDF::Format.for(:ntriples)     #=> RDF::NTriples::Format
  #   RDF::Format.for("etc/doap.nt")
  #   RDF::Format.for(:file_name      => "etc/doap.nt")
  #   RDF::Format.for(:file_extension => "nt")
  #   RDF::Format.for(:content_type   => "text/plain")
  #
  # @see http://www.w3.org/TR/rdf-testcases/#ntriples
  class Format < RDF::Format
    content_type     'text/plain', :extension => :nt
    content_encoding 'ascii'

    reader { RDF::NTriples::Reader }
    writer { RDF::NTriples::Writer }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rdf-0.1.1 lib/rdf/ntriples/format.rb