-
-
Save glenngillen/1306058 to your computer and use it in GitHub Desktop.
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
ruby-1.9.2-p290 :014 > 1 ≥ 1 | |
SyntaxError: (irb):14: syntax error, unexpected tIDENTIFIER, expecting $end | |
1 ≥ 1 | |
^ | |
from /Users/glenngillen/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>' | |
ruby-1.9.2-p290 :015 > |
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 Numeric | |
def ≤(other) | |
self <= other | |
end | |
def ≥(other) | |
self >= other | |
end | |
end | |
class Object | |
def ≠(other) | |
self != other | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment