Sha256: 0c28ba0c471a4cefe3581753e3a39ce37e46376b4708f37e68920a288e754475

Contents?: true

Size: 382 Bytes

Versions: 4

Compression:

Stored size: 382 Bytes

Contents

# encoding: UTF-8

# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0

module TwitterCldr
  module Normalization
    class Base

      class << self

        def combining_class_for(code_point)
          TwitterCldr::Shared::CodePoint.for_hex(code_point).combining_class.to_i
        rescue NoMethodError
          0
        end

      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_cldr-1.6.2 lib/twitter_cldr/normalization/base.rb
twitter_cldr-1.6.1 lib/twitter_cldr/normalization/base.rb
twitter_cldr-1.6.0 lib/twitter_cldr/normalization/base.rb
twitter_cldr-1.5.0 lib/twitter_cldr/normalization/base.rb