aboutsummaryrefslogtreecommitdiffstats
path: root/lib/un.rb
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-22 15:51:07 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-22 15:51:07 +0000
commit2fc74b63131316cd90994fd8b74e4ac2b918e78f (patch)
tree5388dcfe096b461662284b3c656cecc1dc415f42 /lib/un.rb
parentc88de9e2e245e38e8b8e35a2a2b9741fcf069868 (diff)
downloadruby-2fc74b63131316cd90994fd8b74e4ac2b918e78f.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
Diffstat (limited to 'lib/un.rb')
-rw-r--r--lib/un.rb2
1 files changed, 1 insertions, 1 deletions
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