From 2fc74b63131316cd90994fd8b74e4ac2b918e78f Mon Sep 17 00:00:00 2001 From: shugo Date: Thu, 22 Oct 2015 15:51:07 +0000 Subject: * 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 --- ChangeLog | 5 +++++ lib/un.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 33fe6dc92c..aee1f38f5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 23 00:49:45 2015 Shugo Maeda + + * 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 * string.c (rb_str_tr): [DOC] Escape backslash in String#tr diff --git a/lib/un.rb b/lib/un.rb index ac1abe8d8b..1f336a4442 100644 --- a/lib/un.rb +++ b/lib/un.rb @@ -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 -- cgit v1.2.3