3 4 5 6 7
# File 'lib/emot/symbol_ext.rb', line 3 def ~ to_s.split .map { |word| Emot.icon(word) || word.sub(/^\./, '') } .join(" ") end