Skip to content

Instantly share code, notes, and snippets.

@saimonmoore
Created December 21, 2012 09:44
Show Gist options
  • Save saimonmoore/4351794 to your computer and use it in GitHub Desktop.
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.
# 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