aboutsummaryrefslogtreecommitdiffstats
path: root/enum.c
diff options
context:
space:
mode:
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enum.c b/enum.c
index 9f94d2a2f5..681d58f14a 100644
--- a/enum.c
+++ b/enum.c
@@ -2575,7 +2575,7 @@ take_while_i(RB_BLOCK_CALL_FUNC_ARGLIST(i, ary))
/*
* call-seq:
- * enum.take_while { |arr| block } -> array
+ * enum.take_while { |obj| block } -> array
* enum.take_while -> an_enumerator
*
* Passes elements to the block until the block returns +nil+ or +false+,
@@ -2659,7 +2659,7 @@ drop_while_i(RB_BLOCK_CALL_FUNC_ARGLIST(i, args))
/*
* call-seq:
- * enum.drop_while { |arr| block } -> array
+ * enum.drop_while { |obj| block } -> array
* enum.drop_while -> an_enumerator
*
* Drops elements up to, but not including, the first element for