diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-22 15:51:07 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-22 15:51:07 +0000 |
commit | e4d925bf3ae6adcabc597aaf286f3e655161a2f0 (patch) | |
tree | 5388dcfe096b461662284b3c656cecc1dc415f42 | |
parent | bcc07ef4d1b4e447c8341688f5e06f11b43c000a (diff) | |
download | ruby-e4d925bf3ae6adcabc597aaf286f3e655161a2f0.tar.gz |
* lib/un.rb (help): change the name of a block parameter to avoid
a warning when the command line option -w of ruby is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/un.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Oct 23 00:49:45 2015 Shugo Maeda <shugo@ruby-lang.org> + + * lib/un.rb (help): change the name of a block parameter to avoid + a warning when the command line option -w of ruby is specified. + Fri Oct 23 00:22:20 2015 Josef Simanek <josef.simanek@gmail.com> * string.c (rb_str_tr): [DOC] Escape backslash in String#tr @@ -367,7 +367,7 @@ module UN # :nodoc: end end if messages - argv.each {|cmd| output << messages[cmd]} + argv.each {|arg| output << messages[arg]} end end end |