lib/ext/blankslate.rb in amqp-0.5.9 vs lib/ext/blankslate.rb in amqp-0.6.0
- old
+ new
@@ -1,7 +1,7 @@
unless defined?(BlankSlate)
class BlankSlate < BasicObject; end if defined?(BasicObject)
- class BlankSlate
+ class BlankSlate #:nodoc:
instance_methods.each { |m| undef_method m unless m =~ /^__/ }
end
end
\ No newline at end of file