class String
Public Instance Methods
emoji_data()
click to toggle source
# File lib/gemojione/string_ext.rb, line 14 def emoji_data index = Gemojione.index index.find_by_moji(self) || index.find_by_name(self) end
image_url()
click to toggle source
# File lib/gemojione/string_ext.rb, line 10 def image_url Gemojione.image_url_for_name(self.emoji_data['name']) end
with_emoji_images()
click to toggle source
# File lib/gemojione/string_ext.rb, line 2 def with_emoji_images Gemojione.replace_unicode_moji_with_images(self) end
with_emoji_names()
click to toggle source
# File lib/gemojione/string_ext.rb, line 6 def with_emoji_names Gemojione.replace_named_moji_with_images(self) end