summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r--tool/downloader.rb3
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)