1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

suppress warning: shadowing outer local variable - line

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2014-11-11 06:27:34 +00:00
parent 7b4383a2a9
commit 2607419700

View file

@ -73,7 +73,7 @@ composition_exclusions = vpath.open("#{InputDataDir}/CompositionExclusions.txt")
abort "No file version in #{f.path}: #{line}"
(unicode_version ||= version) == version or
abort "Unicode version of directory (#{unicode_version}) and file (#{version}) mismatch"
f.grep(/^[A-Z0-9]{4,5}/) {|line| line.hex}
f.grep(/^[A-Z0-9]{4,5}/, &:hex)
}
decomposition_table = {}