diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-11 06:27:34 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-11 06:27:34 +0000 |
commit | 260741970074e1fc21a4bbabdee3e14e945f47d2 (patch) | |
tree | 6408aa3bfb25911dea7d8e53d5f555248b04eddc | |
parent | 7b4383a2a953597d3b549d494be7fb0cf7701fcc (diff) | |
download | ruby-260741970074e1fc21a4bbabdee3e14e945f47d2.tar.gz |
suppress warning: shadowing outer local variable - line
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | template/unicode_norm_gen.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/unicode_norm_gen.tmpl b/template/unicode_norm_gen.tmpl index b8f9f963b3..6ba11b8464 100644 --- a/template/unicode_norm_gen.tmpl +++ b/template/unicode_norm_gen.tmpl @@ -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 = {} |