lib/gutenberg_rdf/rdf.rb in gutenberg_rdf-0.2.1 vs lib/gutenberg_rdf/rdf.rb in gutenberg_rdf-0.2.3
- old
+ new
@@ -85,10 +85,10 @@
end
def extract_authors
entries = Array.new
xml.elements.each('pgterms:agent') do |agent|
- entries << Agent.new(agent.root)
+ entries << Agent.new(agent)
end
entries
end
def official_cover_images