lib/downer/download_worker.rb in downer-0.3.1 vs lib/downer/download_worker.rb in downer-0.3.2
- old
+ new
@@ -18,11 +18,11 @@
@output.puts "No URLs specified, exiting."
return
end
@items.each { |item| try_download_item(item) }
- successful_downloads
+ @successful_downloads
end
private
def try_download_item(item)
@@ -37,6 +37,6 @@
@output.puts "SocketError encountered on url #{item.url}"
@failed_downloads << item.url
end
end
end
-end
\ No newline at end of file
+end