lib/suika/char_def.rb in suika-0.1.0 vs lib/suika/char_def.rb in suika-0.1.1
- old
+ new
@@ -5,10 +5,10 @@
class CharDef
# @!visibility private
def self.char_type(ch)
code = ch.unpack1('U*')
CHAR_TYPES.find do |ctype|
- Object.const_get("CharDef::#{ctype}").any? { |r| r.include?(code) }
+ Object.const_get("::Suika::CharDef::#{ctype}").any? { |r| r.include?(code) }
end
end
# @!visibility private
def self.char_category(ch)