lib/redfinger/link_helpers.rb in redfinger-0.0.6 vs lib/redfinger/link_helpers.rb in redfinger-0.1.0
- old
+ new
@@ -23,9 +23,9 @@
end
protected
def relmap(uri, substring=false)
- @doc.css("Link[rel#{'^' if substring}=\"#{uri}\"]").map{|e| Link.new(e)}
+ @doc.css("Link[rel#{'^' if substring}=\"#{uri}\"]").map{|e| Link.from_xml(e)}
end
end
end