diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-24 10:00:09 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-24 10:00:09 +0000 |
commit | f508efdb9b541893315cdc7d65978bc027bba601 (patch) | |
tree | 2fd9a12f595e6a42dac6da793718880a1384295d /tool/downloader.rb | |
parent | b6f2f67cc91ae10feeed4205c0f0be951859ece6 (diff) |
tool/downloader.rb: Adjusting example for
Downloader.download to implementation changes in r47693.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r-- | tool/downloader.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb index 366738b8ec..8eb60ac2fc 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -59,8 +59,7 @@ class Downloader # modified time. # # Example usage: - # download 'http://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt', - # 'enc/unicode/data/UnicodeData.txt' + # download :unicode, 'UnicodeData.txt', 'enc/unicode/data' def self.download(url, name, dir = nil, ims = true) file = dir ? File.join(dir, name) : name url = uri_to_download(url, name) |