mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
wrong commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5e947e2d03
commit
216a505751
1 changed files with 1 additions and 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
|
||||
|
|
Loading…
Add table
Reference in a new issue