summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-14 15:22:58 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-14 15:22:58 +0000
commit844f78f5564aeadb846cd7c8eec8e1dd507f7f60 (patch)
tree882d9125009f1086d01655496cbda096b409dfa3 /ext
parentf3c5e92dc734533929893a141b37a5519c5d8184 (diff)
merge revision(s) 39817: [Backport #8116]
* 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/branches/ruby_2_0_0@40297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-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 5857327f21..720c918555 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