lib/rdf/raptor/graphviz.rb in rdf-raptor-2.0.0 vs lib/rdf/raptor/graphviz.rb in rdf-raptor-2.2.0
- old
+ new
@@ -30,11 +30,10 @@
content_type 'text/vnd.graphviz', aliases: ['application/x-graphviz', 'text/x-graphviz'], extension: :dot # TODO: also .gv
content_encoding 'utf-8'
rapper_format :dot
writer { RDF::Raptor::Graphviz::Writer }
- reader { RDF::Raptor::Graphviz::Reader }
end # Format
##
# Graphviz serializer.
#
@@ -53,15 +52,7 @@
# end
#
class Writer < RDF::Raptor::Writer
format RDF::Raptor::Graphviz::Format
end # Writer
-
- ##
- # Raptor does not implement a Graphviz reader, but we need one in
- # order for the Format to pass specs. This class should always
- # raise a NoMethodError to indicate it shouldn't be used.
- #
- class Reader
- end
end # Graphviz
end # RDF::Raptor