Last active
June 3, 2016 18:29
-
-
Save maxdignan/a75336c98ee072c64af444d94d93b82d to your computer and use it in GitHub Desktop.
Ruby Existential Check
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 Object | |
def QQ | |
if !self.nil? | |
return self | |
end | |
Qe.new | |
end | |
end | |
class Qe | |
def method_missing(m, *args, &block) | |
nil | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't get the tabbing to update on Github. Sorry.