diff options
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2424,6 +2424,7 @@ os_obj_of(VALUE of) /* * call-seq: * ObjectSpace.each_object([module]) {|obj| ... } => fixnum + * ObjectSpace.each_object([module]) => an_enumerator * * Calls the block once for each living, nonimmediate object in this * Ruby process. If <i>module</i> is specified, calls the block @@ -2435,6 +2436,8 @@ os_obj_of(VALUE of) * returns both the numbers we defined and several constants defined in * the <code>Math</code> module. * + * If no block is given, an enumerator is returned instead. + * * a = 102.7 * b = 95 # Won't be returned * c = 12345678987654321 |