ruby-changes:60661
From: Kazuki <ko1@a...>
Date: Sun, 5 Apr 2020 18:25:59 +0900 (JST)
Subject: [ruby-changes:60661] b25ef4bf70 (master): Suppress warnings: reserved for numbered parameter
https://git.ruby-lang.org/ruby.git/commit/?id=b25ef4bf70 From b25ef4bf7051e747548ee664df6f8b544051ac51 Mon Sep 17 00:00:00 2001 From: Kazuki Tsujimoto <kazuki@c...> Date: Sun, 5 Apr 2020 18:24:59 +0900 Subject: Suppress warnings: reserved for numbered parameter diff --git a/enc/unicode/case-folding.rb b/enc/unicode/case-folding.rb old mode 100755 new mode 100644 index 362d6eb..4a29fde --- a/enc/unicode/case-folding.rb +++ b/enc/unicode/case-folding.rb @@ -232,7 +232,7 @@ class CaseMapping https://github.com/ruby/ruby/blob/trunk/enc/unicode/case-folding.rb#L232 @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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/