class CJKChar
Public Instance Methods
codepoint()
click to toggle source
# File lib/cjk_string.rb, line 30 def codepoint codepoints.first end
unicode_range()
click to toggle source
# File lib/cjk_string.rb, line 20 def unicode_range Analects::Models::Zi::RANGES.each do |name, info| return name if info[:range].include? codepoint end end
unicode_range_name()
click to toggle source
# File lib/cjk_string.rb, line 26 def unicode_range_name Analects::Models::Zi::RANGES[unicode_range][:name] end