Last active
November 13, 2015 21:55
-
-
Save peteygao/555e4bff2a41295b9ea2 to your computer and use it in GitHub Desktop.
Ruby emoji programming fun! Sometimes you do the 🍴ing, and sometimes you do the 💩ing!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def method_missing symbol, *args | |
return symbol.id2name | |
end | |
def 🍴 😋=nil | |
@👅 ||= [] | |
@👅 << 😋 if 😋 | |
@👅 | |
end | |
🍴 🍷 | |
🍴 🍝 | |
🍴 🍰 | |
🍴.each do |💩| | |
puts 💩 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment