Created
May 7, 2014 06:06
-
-
Save ascendbruce/8f8c078d8d9b3ccd828b to your computer and use it in GitHub Desktop.
Unicode special space characters as ruby method name
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
# encoding: utf-8 | |
# inspired by http://jsbin.com/nuhinuda/1/edit | |
def | |
"U+2004 THREE-PER-EM SPACE" | |
end | |
def | |
"U+2005 FOUR-PER-EM SPACE" | |
end | |
def | |
"U+2006 SIX-PER-EM SPACE" | |
end | |
def | |
"U+2008 PUNCTUATION SPACE" | |
end | |
def | |
"U+2009 THIN SPACE" | |
end | |
def | |
"U+200A HAIR SPACE" | |
end | |
def | |
"U+200B ZERO WIDTH SPACE" | |
end | |
puts | |
puts | |
puts | |
puts | |
puts | |
puts | |
puts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment