Last active
August 29, 2015 14:16
-
-
Save nolim1t/ac60143ae442e1f55f7a to your computer and use it in GitHub Desktop.
Ruby method names are cool
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
class Test | |
def 你好 | |
puts "Hello" | |
end | |
def привет | |
puts "Hello" | |
end | |
def 😊 | |
puts "hey" | |
end | |
end | |
t = Test.new | |
t.你好 | |
t.😊 | |
t.привет |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment