# File lib/blankslate.rb, line 46 def hide(name) warn_level = $VERBOSE $VERBOSE = nil if instance_methods.include?(name._blankslate_as_name) && name !~ /^(__|instance_eval|object_id$)/ @hidden_methods ||= {} @hidden_methods[name.to_sym] = instance_method(name) undef_method name end ensure $VERBOSE = warn_level end