Commit 88fe30f6 by Jason Axelson

Fixes from code-review

parent a714f8fc
......@@ -67,7 +67,7 @@ The symbol of the emoji surrounded with colons
#### .symbol
The symbol of the emoji surrounded with colons
The symbol of the emoji
Rumoji.encode("😭") {|emoji| emoji.code}
#=> "sob"
......
......@@ -13,8 +13,10 @@ module Rumoji
if block_given?
yield emoji
else
emoji.code || match
emoji.code
end
else
match
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment