summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-16 22:23:25 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-16 22:23:25 +0000
commit8bfb41ba7e8b92c38fc129aacf67191aaa42d947 (patch)
tree46d08826d439f45735097e0d61ffc5490cb2d369 /array.c
parentbe3911733043df19c9f57609a055f1a826d496f0 (diff)
* array.c (rb_ary_drop): Improve documentation. Patch by Caley Woods.
[Ruby 1.9 - Bug #4858] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
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]