diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,7 +193,7 @@ class PP < PrettyPrint end def object_address_group(obj, &block) - group(1, sprintf('#<%s:0x%.x', obj.class.to_s, obj.__id__ * 2), '>', &block) + group(1, "\#<#{obj.class}:#{("0x%x" % (obj.__id__ * 2)).sub(/\.\.f/, '')}", '>', &block) end def comma_breakable |