ruby-changes:40145
From: shugo <ko1@a...>
Date: Fri, 23 Oct 2015 00:51:52 +0900 (JST)
Subject: [ruby-changes:40145] shugo:r52226 (trunk): * lib/un.rb (help): change the name of a block parameter to avoid
shugo 2015-10-23 00:51:07 +0900 (Fri, 23 Oct 2015) New Revision: 52226 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52226 Log: * 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. Modified files: trunk/ChangeLog trunk/lib/un.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 52225) +++ ChangeLog (revision 52226) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Oct 23 00:49:45 2015 Shugo Maeda <shugo@r...> + + * 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@g...> * string.c (rb_str_tr): [DOC] Escape backslash in String#tr Index: lib/un.rb =================================================================== --- lib/un.rb (revision 52225) +++ lib/un.rb (revision 52226) @@ -367,7 +367,7 @@ module UN # :nodoc: https://github.com/ruby/ruby/blob/trunk/lib/un.rb#L367 end end if messages - argv.each {|cmd| output << messages[cmd]} + argv.each {|arg| output << messages[arg]} end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/