lib/unicode/name.rb in unicode-name-1.13.4 vs lib/unicode/name.rb in unicode-name-1.13.5
- old
+ new
@@ -16,10 +16,10 @@
return insert_words(res)
end
INDEX[:CP_RANGES].each{|prefix, range|
if range.any?{ |range| codepoint >= range[0] && codepoint <= range[1] }
- return "%s%.4X" %[prefix, codepoint]
+ return "%s%.4X" % [prefix, codepoint]
end
}
if codepoint >= HANGUL_START && codepoint <= HANGUL_END
"HANGUL SYLLABLE %s" % hangul_decomposition(codepoint)