summaryrefslogtreecommitdiffstats
path: root/lib/shell/command-processor.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-16 17:47:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-16 17:47:19 +0000
commit9246a73c21dab6031e8036b3ebaa3b943d2119d1 (patch)
treea700e3fe92165180b04451746f9c4fda4f038289 /lib/shell/command-processor.rb
parentd9a34753f78b8db5115b10bb1df137a16c4c90cf (diff)
downloadruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.tar.gz
ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.tar.xz
ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.zip
consistent parentheses in assignment RHS.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell/command-processor.rb')
-rw-r--r--lib/shell/command-processor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shell/command-processor.rb b/lib/shell/command-processor.rb
index 876192e8b..ce5102a9c 100644
--- a/lib/shell/command-processor.rb
+++ b/lib/shell/command-processor.rb
@@ -393,7 +393,7 @@ class Shell
end]), nil, __FILE__, __LINE__ - 1)
else
- args = opts.collect{|opt| '"' + opt + '"'}.join ","
+ args = opts.collect{|opt| '"' + opt + '"'}.join(",")
eval((d = %Q[def #{ali}(*opts)
@shell.__send__(:#{command}, #{args}, *opts)
end]), nil, __FILE__, __LINE__ - 1)