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
@ -193,7 +193,7 @@ class PP < PrettyPrint
|
|||||||
end
|
end
|
||||||
|
|
||||||
def object_address_group(obj, &block)
|
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
|
end
|
||||||
|
|
||||||
def comma_breakable
|
def comma_breakable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user