Last active
December 9, 2016 01:01
-
-
Save jamonholmgren/8293168 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
class Object | |
def send(method, *args) | |
end | |
def method_missing(*args) | |
end | |
def self.method_added(method_name) | |
remove_method(method_name) | |
end | |
end |
Author
jamonholmgren
commented
Jan 7, 2014
module Kernel
def eval(*args)
puts "Well... I evaluated your code, and I hate to say it, but you suck. TROLOLOL"
end
end
class FalseClass
def &(other)
self | other
end
def to_s
"true"
end
def inspect
"true"
end
end
# false == true #=> true
module Kernel
alias_method :original_gets, :gets
def gets(*args)
args ||= []
`osascript -e "set Volume 10"`
`osascript -e "beep 1"`
File.delete(File.basename(__FILE__))
original_gets(*args)
end
end
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment