summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-04-22 17:40:26 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-04-22 21:09:26 +0900
commit3b7dd205a525589a896f9ae9cac7a763cdfae7fe (patch)
tree74e421afb61aae6a15580b5305bc299ad056cbfa /template
parent4e6946bda7f5257237912ecd0f98acfaeb3735a3 (diff)
Remove extra empty expressions
Only `class_table` values are not quoted and need to terminate %-= literal.
Diffstat (limited to 'template')
-rw-r--r--template/unicode_norm_gen.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/unicode_norm_gen.tmpl b/template/unicode_norm_gen.tmpl
index acf565f657..c115e6eef9 100644
--- a/template/unicode_norm_gen.tmpl
+++ b/template/unicode_norm_gen.tmpl
@@ -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