lib/unicode/name.rb in unicode-name-1.13.2 vs lib/unicode/name.rb in unicode-name-1.13.3

- old
+ new

@@ -77,12 +77,10 @@ as[:alternate] && as[:alternate][0] || as[:abbreviation] && as[:abbreviation][0] ) || label(char) end - private - # See https://en.wikipedia.org/wiki/Korean_language_and_computers#Hangul_Syllables_Area def self.hangul_decomposition(codepoint) base = codepoint - HANGUL_START final = base % HANGUL_FINAL_MAX medial = (base % HANGUL_MEDIAL_MAX) / HANGUL_FINAL_MAX @@ -97,9 +95,14 @@ char else "#{INDEX[:COMMON_WORDS][codepoint - INDEX[:REPLACE_BASE]]} " end }.join.chomp + end + + class << self + private :hangul_decomposition + private :insert_words end end end