summaryrefslogtreecommitdiff
path: root/ext/objspace
diff options
context:
space:
mode:
authorsorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-19 01:09:46 +0000
committersorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-19 01:09:46 +0000
commit3ee89c6277975db0a09f903b96da8f7fecfef8a6 (patch)
tree2e0fca4d0732095c047e60c2f0cfd5c8ade5ae65 /ext/objspace
parentab31e97c4475ae179f4a64b36e989fdfbfaa1d6d (diff)
* 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
Diffstat (limited to 'ext/objspace')
-rw-r--r--ext/objspace/objspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c
index 5857327..720c918 100644
--- a/ext/objspace/objspace.c
+++ b/ext/objspace/objspace.c
@@ -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