module RubyEmoji
Constants
- EMOJI_LIST
- VERSION
Public Class Methods
parse(string)
click to toggle source
Parse a string to convert the colon notation into a real emoji.
Example:
>> RubyEmoji.parse(":grin: :green_heart:") => "😁 💚"
# File lib/ruby_emoji.rb, line 12 def self.parse(string) parser = Parser.new(string) parser.parse end