lib/rib/test.rb in rib-1.1.2 vs lib/rib/test.rb in rib-1.1.3
- old
+ new
@@ -83,5 +83,10 @@
module Kernel
def eq? rhs
self == rhs
end
end
+
+Rib::Blackhole = Object.new
+b = Rib::Blackhole.singleton_class
+b.instance_methods(true).each{ |m|
+ b.send(:undef_method, m) unless [:object_id, :__send__].include?(m) }