lib/gutenberg_rdf.rb in gutenberg_rdf-0.0.2 vs lib/gutenberg_rdf.rb in gutenberg_rdf-0.1.0
- old
+ new
@@ -1,13 +1,13 @@
-require 'nokogiri'
+require 'rexml/document'
require "gutenberg_rdf/rdf"
require "gutenberg_rdf/rdf/agent"
require "gutenberg_rdf/version"
module GutenbergRdf
def self.parse(path)
- Rdf.new(Nokogiri::XML(File.new(path)))
+ Rdf.new(REXML::Document.new(File.new(path)))
end
end