diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-08 07:46:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-08 07:46:18 +0000 |
commit | 5e947e2d03657d87594ff77c5492b21065950635 (patch) | |
tree | 9c2d1ebd2addb8a1d0fc081a5dbd41997ea4397a /lib/pp.rb | |
parent | ebb7ed18646a10a0a735179f3008ec845cb5509f (diff) |
* lib/pp.rb (PP::PPMethods::object_address_group): suppress negative
sign for higher heap areas.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pp.rb')
-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, sprintf('#<%s:0x%.x', obj.class.to_s, obj.__id__ * 2), '>', &block) end def comma_breakable |