Created
May 24, 2013 04:48
-
-
Save xinuc/5641326 to your computer and use it in GitHub Desktop.
Potato
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 Fixnum | |
def +(x) | |
"potato" | |
end | |
def *(x) | |
"potato" | |
end | |
def /(x) | |
"potato" | |
end | |
def -(x) | |
"potato" | |
end | |
end | |
puts 40 + 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment