Sha256: d9fc7cb0eb359175526292600deda978618bf54c6cb27df9f78357b6fb50dbcd

Contents?: true

Size: 1.39 KB

Versions: 10

Compression:

Stored size: 1.39 KB

Contents

# frozen_string_literal: true

module Unicode
  module Emoji
    EMOJI_CHAR                    = INDEX[:PROPERTIES].select{ |ord, props| props.include?(:E) }.keys.freeze
    EMOJI_PRESENTATION            = INDEX[:PROPERTIES].select{ |ord, props| props.include?(:P) }.keys.freeze
    TEXT_PRESENTATION             = INDEX[:PROPERTIES].select{ |ord, props| props.include?(:E) && !props.include?(:P) }.keys.freeze
    EMOJI_COMPONENT               = INDEX[:PROPERTIES].select{ |ord, props| props.include?(:C) }.keys.freeze
    EMOJI_MODIFIER_BASES          = INDEX[:PROPERTIES].select{ |ord, props| props.include?(:B) }.keys.freeze
    EMOJI_MODIFIERS               = INDEX[:PROPERTIES].select{ |ord, props| props.include?(:M) }.keys.freeze

    EXTENDED_PICTOGRAPHIC         = INDEX[:PROPERTIES].select{ |ord, props| props.include?(:X) }.keys.freeze
    EXTENDED_PICTOGRAPHIC_NO_EMOJI= INDEX[:PROPERTIES].select{ |ord, props| props.include?(:X) && !props.include?(:E) }.keys.freeze
    EMOJI_KEYCAPS                 = INDEX[:KEYCAPS].freeze
    VALID_REGION_FLAGS            = INDEX[:FLAGS].freeze
    VALID_SUBDIVISIONS            = INDEX[:SD].freeze
    RECOMMENDED_SUBDIVISION_FLAGS = INDEX[:TAGS].freeze
    RECOMMENDED_ZWJ_SEQUENCES     = INDEX[:ZWJ].freeze

    LIST                          = INDEX[:LIST].freeze.each_value(&:freeze)
    LIST_REMOVED_KEYS             = [
      "Smileys & People",
    ].freeze
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
unicode-emoji-3.6.0 lib/unicode/emoji/lazy_constants.rb
unicode-emoji-3.5.0 lib/unicode/emoji/lazy_constants.rb
unicode-emoji-3.4.0 lib/unicode/emoji/lazy_constants.rb
unicode-emoji-3.3.2 lib/unicode/emoji/lazy_constants.rb
unicode-emoji-3.3.1 lib/unicode/emoji/lazy_constants.rb
unicode-emoji-3.3.0 lib/unicode/emoji/lazy_constants.rb
unicode-emoji-3.2.0 lib/unicode/emoji/lazy_constants.rb
unicode-emoji-3.1.1 lib/unicode/emoji/lazy_constants.rb
unicode-emoji-3.1.0 lib/unicode/emoji/lazy_constants.rb
unicode-emoji-3.0.0 lib/unicode/emoji/lazy_constants.rb