From a84a284a3bb0f4b66527ac1d90bca09094efdf1d Mon Sep 17 00:00:00 2001 From: knu Date: Sat, 23 Jun 2001 10:15:44 +0000 Subject: [PATCH] Remove a redundant `*' against an array. (sync with 1.7) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/shell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shell.rb b/lib/shell.rb index 1d28834213..6b44cc3e64 100644 --- a/lib/shell.rb +++ b/lib/shell.rb @@ -255,7 +255,7 @@ class Shell return unless yorn _head = true - print *opts.collect{|mes| + print opts.collect{|mes| mes = mes.dup yield mes if iterator? if _head