Created
May 16, 2013 11:06
-
-
Save janjiss/5590974 to your computer and use it in GitHub Desktop.
Ruby now supports Chinese names in methods. LOL.
This file contains hidden or 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
| irb(main):011:0> def 新增三個(數) | |
| irb(main):012:1> 數+3 | |
| irb(main):013:1> end | |
| => nil | |
| irb(main):014:0> 新增三個(3) | |
| => 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment