Created
December 21, 2012 09:44
-
-
Save saimonmoore/4351794 to your computer and use it in GitHub Desktop.
# A class that swallows any and
# all calls to itself or it's objects.
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
# A class that swallows any and | |
# all calls to itself or it's objects. | |
# | |
class BlackHole < BasicObject | |
class << self | |
def method_missing(*args) | |
end | |
end | |
def method_missing(*args) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment