From 8bfb41ba7e8b92c38fc129aacf67191aaa42d947 Mon Sep 17 00:00:00 2001 From: drbrain Date: Thu, 16 Jun 2011 22:23:25 +0000 Subject: * 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 --- array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'array.c') 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 ary, 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] -- cgit v1.2.3