# File lib/blankslate.rb, line 22 def hide(name) if instance_methods.map(&:to_sym).include?(name.to_sym) and name !~ /^(__|instance_eval|object_id)/ @hidden_methods ||= {} @hidden_methods[name.to_sym] = instance_method(name) undef_method name end end