Sha256: 3c0b2b17593003748b41d1ef0b0e00b7471289bd6fe92a95aae63c6d11362d9a

Contents?: true

Size: 407 Bytes

Versions: 11

Compression:

Stored size: 407 Bytes

Contents

require "json"
require "mumuki/emojis/version"

module Mumuki
  module Emojis
    class Engine < ::Rails::Engine
    end if defined? ::Rails::Engine

    ASSETS_PATH = File.join(__dir__, '..', '..', 'app', 'assets')

    EMOJIS = JSON.parse(File.read(File.join(ASSETS_PATH, 'json', 'mumuki-emojis-shortnames.json')))

    def self.assets_path_for(asset)
      File.join ASSETS_PATH, asset
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/mumuki-emojis-1.3.0/lib/mumuki/emojis.rb
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/mumuki-emojis-1.3.0/lib/mumuki/emojis.rb
mumuki-emojis-1.3.0 lib/mumuki/emojis.rb
mumuki-emojis-1.2.0 lib/mumuki/emojis.rb
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/mumuki-emojis-1.1.1/lib/mumuki/emojis.rb
mumuki-emojis-1.1.1 lib/mumuki/emojis.rb
mumuki-emojis-1.1.0 lib/mumuki/emojis.rb
mumuki-emojis-1.0.3 lib/mumuki/emojis.rb
mumuki-emojis-1.0.2 lib/mumuki/emojis.rb
mumuki-emojis-1.0.1 lib/mumuki/emojis.rb
mumuki-emojis-1.0.0 lib/mumuki/emojis.rb