Sha256: 65ee921b94a4f647ad29af023501e2b6fe11f203d414ade2eab3ce12ff38749d
Contents?: true
Size: 802 Bytes
Versions: 45
Compression:
Stored size: 802 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 module TwitterCldr module Shared module Properties module ArabicShaping JOINING_TYPES = { 'R' => 'Right_Joining', 'L' => 'Left_Joining', 'D' => 'Dual_Joining', 'C' => 'Join_Causing', 'U' => 'Non_Joining', 'T' => 'Transparent' } class << self def joining_type_for_general_category(general_category) case general_category when 'Mn', 'Me', 'Cf' joining_types['T'] else joining_types['U'] end end def joining_types JOINING_TYPES end end end end end end
Version data entries
45 entries across 45 versions & 2 rubygems