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

Suppress warnings: reserved for numbered parameter

This commit is contained in:
Kazuki Tsujimoto 2020-04-05 18:24:59 +09:00
parent cab9788e0c
commit b25ef4bf70
No known key found for this signature in database
GPG key ID: BCEA306C49B81CD7

2
enc/unicode/case-folding.rb Executable file → Normal file
View file

@ -232,7 +232,7 @@ class CaseMapping
@version = nil
IO.foreach(File.join(mapping_directory, 'UnicodeData.txt'), mode: "rb") do |line|
next if line =~ /^</
code, _1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11, upper, lower, title = line.chomp.split ';'
code, _, _, _, _, _, _, _, _, _, _, _, upper, lower, title = line.chomp.split ';'
unless upper and lower and title and (upper+lower+title)==''
@mappings[code] = MapItem.new(code, upper, lower, title)
end