diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-08 07:54:34 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-08 07:54:34 +0000 |
| commit | a95d741f8eebe89861367aeedfdf3cad67abec5f (patch) | |
| tree | 3b58e14c550733587de55b22b4f250b25afecf4f /lib/pp.rb | |
| parent | a9a5eaf345b8244feb3c1e576862996be1d9e209 (diff) | |
| download | ruby-a95d741f8eebe89861367aeedfdf3cad67abec5f.tar.gz ruby-a95d741f8eebe89861367aeedfdf3cad67abec5f.tar.xz ruby-a95d741f8eebe89861367aeedfdf3cad67abec5f.zip | |
wrong commit.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5653 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, "\#<#{obj.class}:#{("0x%x" % (obj.__id__ * 2)).sub(/\.\.f/, '')}", '>', &block) end def comma_breakable |
