ruby-changes:35725
From: duerst <ko1@a...>
Date: Mon, 6 Oct 2014 10:15:33 +0900 (JST)
Subject: [ruby-changes:35725] duerst:r47807 (trunk): tool/downloader.rb: Adjust example in documentation for Downloader.download.
duerst 2014-10-06 10:15:23 +0900 (Mon, 06 Oct 2014) New Revision: 47807 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47807 Log: tool/downloader.rb: Adjust example in documentation for Downloader.download. Modified files: trunk/ChangeLog trunk/tool/downloader.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 47806) +++ ChangeLog (revision 47807) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Oct 6 10:15:15 2014 Martin Duerst <duerst@i...> + + * tool/downloader.rb: Adjust example in documentation for + Downloader.download. + Mon Oct 6 10:07:07 2014 Martin Duerst <duerst@i...> * lib/unicode_normalize: New folder for Unicode normalization Index: tool/downloader.rb =================================================================== --- tool/downloader.rb (revision 47806) +++ tool/downloader.rb (revision 47807) @@ -50,7 +50,8 @@ class Downloader https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L50 # 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/