lib/unicode/sequence_name.rb in unicode-sequence_name-1.14.0 vs lib/unicode/sequence_name.rb in unicode-sequence_name-1.14.1
- old
+ new
@@ -3,10 +3,10 @@
module Unicode
module SequenceName
def self.sequence_name(string)
codepoints = get_codepoint_values(string)
require_relative "sequence_name/index" unless defined? ::Unicode::SequenceName::INDEX
- if res = INDEX[codepoints]
+ if res = INDEX[:SEQUENCES][codepoints]
res
else
nil
end
end