Last active
December 9, 2016 01:01
-
-
Save jamonholmgren/8293168 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
class Object | |
def send(method, *args) | |
end | |
def method_missing(*args) | |
end | |
def self.method_added(method_name) | |
remove_method(method_name) | |
end | |
end |
silasjmatson
commented
Jan 7, 2014
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