Remove extra empty expressions

Only `class_table` values are not quoted and need to terminate %-=
literal.
This commit is contained in:
Nobuyoshi Nakada 2025-04-22 17:40:26 +09:00
parent 4e6946bda7
commit 3b7dd205a5
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -213,19 +213,19 @@ module UnicodeNormalize # :nodoc:
DECOMPOSITION_TABLE = {
% decomposition_table.each do |key, value|
"<%=key.to_UTF8%>"=>"<%=value.to_UTF8%>"<%=%>,
"<%=key.to_UTF8%>"=>"<%=value.to_UTF8%>",
% end
}.freeze
KOMPATIBLE_TABLE = {
% kompatible_table.each do |key, value|
"<%=key.to_UTF8%>"=>"<%=value.to_UTF8%>"<%=%>,
"<%=key.to_UTF8%>"=>"<%=value.to_UTF8%>",
% end
}.freeze
COMPOSITION_TABLE = {
% composition_table.each do |key, value|
"<%=key.to_UTF8%>"=>"<%=value.to_UTF8%>"<%=%>,
"<%=key.to_UTF8%>"=>"<%=value.to_UTF8%>",
% end
}.freeze
end