lib/unicode/numeric_value.rb in unicode-numeric_value-1.0.0 vs lib/unicode/numeric_value.rb in unicode-numeric_value-1.1.0
- old
+ new
@@ -10,10 +10,10 @@
end
class << self; alias of numeric_value; end
def self.chars
require_relative "numeric_value/index" unless defined? ::Unicode::NumericValue::INDEX
- INDEX.keys.map{ |codepoint| [codepoint].pack("U") }
+ INDEX.keys.sort.map{ |codepoint| [codepoint].pack("U") }
end
end
end