mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
consistent parentheses in assignment RHS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3ec0bc3828
commit
8ef5da3be1
26 changed files with 48 additions and 48 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue