Skip to content

Instantly share code, notes, and snippets.

@dorkalev
Created December 3, 2012 07:47
Show Gist options
  • Save dorkalev/4193454 to your computer and use it in GitHub Desktop.
Save dorkalev/4193454 to your computer and use it in GitHub Desktop.
i ♥ you
# encoding: utf-8
def i(what)
"I #{what}"
end
def ♥(who)
"LOVE #{who}"
end
def you
"YOU"
end
def stuff
i ♥ you
end
p stuff
@dorkalev
Copy link
Author

dorkalev commented Dec 3, 2012

using utf8 in method names in ruby...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment