lib/atom.rb in ratom-nokogiri-0.10.3 vs lib/atom.rb in ratom-nokogiri-0.10.4
- old
+ new
@@ -464,10 +464,10 @@
when Nokogiri::XML::Reader
if next_node_is?(o, 'feed', Atom::NAMESPACE)
o.read
parse(o)
else
- raise ArgumentError, "XML document was missing atom:feed: #{o.read_outer_xml}"
+ raise ArgumentError, "XML document was missing atom:feed: #{o.outer_xml}"
end
when Hash
o.each do |k, v|
self.send("#{k.to_s}=", v)
end