diff options
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r-- | tool/downloader.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb index 567d5cebd9..71579c536a 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -50,7 +50,8 @@ class Downloader # modified time. # # Example usage: - # download :unicode, 'UnicodeData.txt', 'enc/unicode/data' + # download 'http://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt', + # 'UnicodeData.txt', 'enc/unicode/data' def self.download(url, name, dir = nil, ims = true) file = dir ? File.join(dir, name) : name return true if ims.nil? and File.exist?(file) |