lib/spidr/links.rb in spidr-0.3.1 vs lib/spidr/links.rb in spidr-0.3.2
- old
+ new
@@ -83,10 +83,10 @@
each_meta_redirect(&block)
elsif location.kind_of?(Array)
location.each(&block)
else
# usually the location header contains a single String
- block.call(location)
+ yield location
end
end
#
# URLs that this document redirects to.