Skip to content

Instantly share code, notes, and snippets.

@janjiss
Created May 16, 2013 11:06
Show Gist options
  • Select an option

  • Save janjiss/5590974 to your computer and use it in GitHub Desktop.

Select an option

Save janjiss/5590974 to your computer and use it in GitHub Desktop.
Ruby now supports Chinese names in methods. LOL.
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