aboutsummaryrefslogtreecommitdiffstats
path: root/ext/objspace/objspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/objspace/objspace.c')
-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