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:
parent
cab9788e0c
commit
b25ef4bf70
1 changed files with 1 additions and 1 deletions
2
enc/unicode/case-folding.rb
Executable file → Normal file
2
enc/unicode/case-folding.rb
Executable file → Normal 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
|
||||
|
|
Loading…
Reference in a new issue