mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
ebb7ed1864
commit
5e947e2d03
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Feb 8 16:46:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/pp.rb (PP::PPMethods::object_address_group): suppress negative
|
||||
sign for higher heap areas.
|
||||
|
||||
Sun Feb 8 16:18:27 2004 akira yamada <akira@ruby-lang.org>
|
||||
|
||||
* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue