Sha256: 589c0fd06a773d1d9664d087904c7791c42f9fc36f00dea003e3dc74c5500a09

Contents?: true

Size: 443 Bytes

Versions: 2

Compression:

Stored size: 443 Bytes

Contents

module Emojidex
  # collects and condenses UTF moji codes within a collection
  module CollectionMojiData
    attr_reader :moji_code_string, :moji_code_index

    def condense_moji_code_data
      @moji_code_string = ""
      @moji_code_index = {}

      @emoji.values.each do |moji|
        if moji.moji != nil
          @moji_code_string << moji.moji
          @moji_code_index[moji.moji] = moji.code
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
emojidex-0.0.23 lib/emojidex/collection/moji_data.rb
emojidex-0.0.22 lib/emojidex/collection/moji_data.rb