Class: RDF::Raptor::RDFXML::Format
- Inherits:
-
Format
- Object
- Format
- RDF::Raptor::RDFXML::Format
- Extended by:
- Format
- Defined in:
- lib/rdf/raptor/rdfxml.rb
Overview
RDF/XML format specification.
Class Method Summary collapse
Methods included from Format
Class Method Details
.detect(sample) ⇒ Object
44 45 46 47 |
# File 'lib/rdf/raptor/rdfxml.rb', line 44 def self.detect(sample) # Raptor guess is not fully supported sample.match(/<(\w+:)?(RDF)/) end |
.symbols ⇒ Object
49 50 51 |
# File 'lib/rdf/raptor/rdfxml.rb', line 49 def self.symbols [:rdfxml, :rdf] end |