Created
December 11, 2009 03:41
-
-
Save vangberg/253964 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 BlackHole | |
instance_methods.each { |m| undef_method m unless m =~ /^__/ } | |
def method_missing(*a) self end | |
end | |
BlackHole.new.doesnt.care("much").about(:anything, :you, :do).okay? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment