lib/motion/util.rb in rm-extensions-0.4.1 vs lib/motion/util.rb in rm-extensions-0.4.2
- old
+ new
@@ -71,10 +71,10 @@
module ObjectExtensions
module Util
def rmext_object_desc
- "#{self.className}:#{'%x' % (self.object_id)}"
+ "#<#{self.className}:0x#{'%x' % (self.object_id)}(#{self.object_id})>"
end
# Raises an exception when called from a thread other than the main thread.
# Good for development and experimenting.
def rmext_assert_main_thread!