mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
A trick for negative address removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cced56ef7c
commit
1717014d72
1 changed files with 0 additions and 1 deletions
|
@ -167,7 +167,6 @@ class PP < PrettyPrint
|
|||
|
||||
def object_address_group(obj, &block)
|
||||
id = PointerFormat % (obj.__id__ * 2 & PointerMask)
|
||||
id.sub!(/\Af(?=[[:xdigit:]]{2}+\z)/, '') if id.sub!(/\A\.\./, '')
|
||||
group(1, "\#<#{obj.class}:0x#{id}", '>', &block)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue