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