mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/iconv/charset_alias.rb: pass block argument to outer local
variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
688ca71c13
commit
e7d267c42a
3 changed files with 9 additions and 3 deletions
|
|
@ -95,7 +95,8 @@ end
|
|||
|
||||
target = OS
|
||||
opt = nil
|
||||
ARGV.options do |opt|
|
||||
ARGV.options do |opt2|
|
||||
opt = opt2
|
||||
opt.banner << " config.status map.rb"
|
||||
opt.on("--target OS") {|t| target = t}
|
||||
opt.parse! and (1..2) === ARGV.size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue