mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
tool/downloader.rb: Removing unused method
Downloader.download_if_modified_since. (if ever used, just replace with Downloader.download) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d081032d6b
commit
b6f2f67cc9
2 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Sep 24 18:06:06 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* tool/downloader.rb: Removing unused method
|
||||
Downloader.download_if_modified_since.
|
||||
(if ever used, just replace with Downloader.download)
|
||||
|
||||
Tue Sep 24 17:59:59 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* tool/downloader.rb: Fixing raise after return.
|
||||
|
|
|
@ -84,8 +84,4 @@ class Downloader
|
|||
rescue => e
|
||||
raise e.class, "failed to download #{name}\n#{e.message}: #{url}", e.backtrace
|
||||
end
|
||||
|
||||
def self.download_if_modified_since(url, name, dir = nil)
|
||||
download(url, name, dir)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue