lib/bukkit/download.rb in bukkit-0.1.3 vs lib/bukkit/download.rb in bukkit-0.1.4
- old
+ new
@@ -5,9 +5,10 @@
begin
File.open("#{filename}", "wb") do |file|
file.write open("#{uri}").read
end
rescue Errno::ENOENT
+ Bukkit::Help.download
abort "Error! No internet connection."
end
end
end
\ No newline at end of file