lib/gutenberg_rdf/rdf/agent.rb in gutenberg_rdf-0.4.0 vs lib/gutenberg_rdf/rdf/agent.rb in gutenberg_rdf-1.0.0

- old
+ new

@@ -50,18 +50,17 @@ entries << name.text end entries end - private + private def name_parts parts = xml.elements['pgterms:name'].text.split(/, */) last = parts.shift first = parts.reverse.join(' ') {first: first, last: last} end - end end end