aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--array.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f5e91a8a6..1347df8b12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jun 17 07:23:03 2011 Eric Hodel <drbrain@segment7.net>
+
+ * array.c (rb_ary_drop): Improve documentation. Patch by Caley Woods.
+ [Ruby 1.9 - Bug #4858]
+
Fri Jun 17 06:11:31 2011 Eric Hodel <drbrain@segment7.net>
* lib/webrick/log.rb: Improve documentation of BasicLog and Log.
diff --git a/array.c b/array.c
index 9664626c7b..c58f88f66b 100644
--- a/array.c
+++ b/array.c
@@ -4553,8 +4553,8 @@ rb_ary_take_while(VALUE ary)
* call-seq:
* ary.drop(n) -> new_ary
*
- * Drops first n elements from <i>ary</i>, and returns rest elements
- * in an array.
+ * Drops first n elements from +ary+ and returns the rest of
+ * the elements in an array.
*
* a = [1, 2, 3, 4, 5, 0]
* a.drop(3) #=> [4, 5, 0]