mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/objspace/objspace.c: Fix typo in doc. Patch by Sho Hashimoto.
[Bug #8116] [ruby-dev:47177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ab31e97c44
commit
3ee89c6277
2 changed files with 6 additions and 1 deletions
|
@ -225,7 +225,7 @@ total_i(void *vstart, void *vend, size_t stride, void *ptr)
|
|||
*
|
||||
* def memsize_of_all klass = false
|
||||
* total = 0
|
||||
* ObjectSpace.each_objects{|e|
|
||||
* ObjectSpace.each_object{|e|
|
||||
* total += ObjectSpace.memsize_of(e) if klass == false || e.kind_of?(klass)
|
||||
* }
|
||||
* total
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue