Skip to content

Instantly share code, notes, and snippets.

@peteygao
Last active November 13, 2015 21:55
Show Gist options
  • Save peteygao/555e4bff2a41295b9ea2 to your computer and use it in GitHub Desktop.
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!
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